-
-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Run scraper with --stats once per week #2
Comments
I can use this pattern: https://til.simonwillison.net/github-actions/different-steps-on-a-schedule |
Note that with this change the action no longer scrapes on a commit - it only scrapes on |
Running now with |
Yup, that added the stats files: 1a09c87 |
I manually ran it again to check I got some diffs and I did: 2060f38#diff-6835345cbfec8fbf1dfeaee6534859a57591cf163fae958e06defcc40f87b969 |
This is so I don't get lots of tiny diffs because of page view and download counts incrementing all the time.
I built the script with this in mind - it only writes the stats information out - as separate files - if you include
--stats
:scrape-open-data/scrape_socrata.py
Lines 28 to 31 in 626c4cb
The text was updated successfully, but these errors were encountered: