![Scrape data](https://github.com/reuters-graphics/action_{{ projectName }}/workflows/Scrape%20data/badge.svg)
A GitHub Action-based scraper. Built from our house bluprint.
data.json
[https://graphics.thomsonreuters.com/data/2021/{{ projectName }}/data.json](https://graphics.thomsonreuters.com/data/2021/{{ projectName }}/data.json)
- Customize the script in
index.js
to scrape your data and upload it to somewhere on our graphics.thomsonreuters.com S3 bucket. - Set the cron schedule in
.github/workflows/action.yaml
. - Create a repository on the reuters-graphics GitHub org. Prefix the name with
action_
- Commit your repo to GitHub. You can check your action in the Actions tab.
- You can run the scraper locally using
yarn run scrape