Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
dashen1 authored Jun 18, 2024
1 parent ae13139 commit 17b371f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Daily News Scraper

on:
schedule:
- cron: '15 20 * * *' # 每天凌晨0点触发(UTC时间)
- cron: '15 32 * * *' # 每天凌晨0点触发(UTC时间)

jobs:
scrape:
Expand All @@ -19,7 +19,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install requests beautifulsoup4
pip install requests BeautifulSoup
- name: Run scraper
run: python scraper.py

0 comments on commit 17b371f

Please sign in to comment.