We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c2807a6 commit 6546609Copy full SHA for 6546609
.github/workflows/scrape_posts.yaml
@@ -0,0 +1,23 @@
1
+name: Scrape Latest Posts
2
+
3
+on:
4
+ schedule:
5
+ - cron: "0 */2 * * *"
6
+ workflow_dispatch:
7
8
+jobs:
9
+ build:
10
+ runs-on: ubuntu-latest
11
+ steps:
12
+ - name: Checkout code
13
+ uses: actions/checkout@v4
14
+ - name: Set up Python 3.10
15
+ uses: actions/setup-python@v4
16
+ with:
17
+ python-version: '3.10'
18
+ cache: "pip"
19
+ - run: pip install -r requirements.txt
20
+ - run: python main.py
21
22
23
.gitignore
@@ -173,4 +173,6 @@ pyrightconfig.json
173
174
mock_data/*
175
google_news.py
176
-format.sh
+format.sh
177
178
+*.mp3
0 commit comments