Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
akanksha1131 committed Apr 22, 2024
1 parent f6d61b6 commit 8142f41
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Run Scripts
on:
schedule:
# Run newday.py every day.
- cron: '35 12 * * *'
- cron: '40 06 * * *'


jobs:
Expand Down
5 changes: 4 additions & 1 deletion project/main3.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,9 @@ def download_and_save_articles(links_list, csv_file):
# Example usage:
all_links = [
"https://timesofindia.indiatimes.com/india",
"https://timesofindia.indiatimes.com/india/delhi",
"https://timesofindia.indiatimes.com/india/maharashtra",
"https://timesofindia.indiatimes.com/india/tamil-nadu",
"https://timesofindia.indiatimes.com/world",
"https://timesofindia.indiatimes.com/world/middle-east",
"https://timesofindia.indiatimes.com/world/uk",
Expand All @@ -90,7 +93,7 @@ def download_and_save_articles(links_list, csv_file):
"https://timesofindia.indiatimes.com/business/financial-literacy",
"https://timesofindia.indiatimes.com/business/india-business",
"https://timesofindia.indiatimes.com/business/international-business",
"https://timesofindia.indiatimes.com/technology",
"https://timesofindia.indiatimes.com/technology/tech-news",
"https://timesofindia.indiatimes.com/sports"
]

Expand Down

0 comments on commit 8142f41

Please sign in to comment.