This script is designed to parse extension statistics data from Chrome Stats and Firefox Stats websites. It runs every hour, fetching the latest data and storing it in data-chrome.json
and data-firefox.json
files.
To use this script, follow these steps:
- Ensure you have the required dependencies installed.
- Run the script periodically to keep the data up-to-date.
- Access the parsed data in the generated
data-chrome.json
,data-firefox.json
anddata-table.pdf
files.
Make sure you have the necessary dependencies installed before running the script. You can install them using the following command:
npm install
node chrome.js // or node firefox.js // node pdf.js
data-chrome.json
: Contains parsed extension statistics data from Chrome Stats.data-firefox.json
: Contains parsed extension statistics data from Firefox Stats.data-table.pdf
: Contains parsed extension statistics data in a PDF format.
This script is set to run every hour using Github Actions to ensure up-to-date statistics. Customize the script to fit your needs or integrate it into your workflow as required.
This script relies on the structure of the provided URLs, and any changes to the website layout may affect its functionality. Use with caution and check for updates if issues arise.
- Puppeteer
- Github Actions
- Chrome Extension Stats
- Firefox Extension Stats