Skip to content

Commit

Permalink
Faster cron, less results
Browse files Browse the repository at this point in the history
  • Loading branch information
Yomguithereal authored Feb 28, 2024
1 parent 9476f75 commit 33d6072
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/collect-tweet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Collect Tweets

on:
schedule:
- cron: "00 00 * * *"
- cron: "0 */4 * * *"

jobs:
update:
Expand All @@ -28,7 +28,7 @@ jobs:
pip install -U minet==1.3.2
- name: Scrape tweets
run: minet twitter scrape tweets 'from:medialab_ScPo' --limit 50 --cookie "${COOKIE}" > data/medialab_tweets.csv
run: minet twitter scrape tweets 'from:medialab_ScPo' --limit 30 --cookie "${COOKIE}" > data/medialab_tweets.csv

- name: Check
run : ls data
Expand Down

0 comments on commit 33d6072

Please sign in to comment.