From 8142f414a7184853d9c84401d8191450eddfbe2d Mon Sep 17 00:00:00 2001 From: akanksha Date: Mon, 22 Apr 2024 12:06:08 +0530 Subject: [PATCH] update --- .github/workflows/actions.yml | 2 +- project/main3.py | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/actions.yml b/.github/workflows/actions.yml index 00faf97..b5442ce 100644 --- a/.github/workflows/actions.yml +++ b/.github/workflows/actions.yml @@ -3,7 +3,7 @@ name: Run Scripts on: schedule: # Run newday.py every day. - - cron: '35 12 * * *' + - cron: '40 06 * * *' jobs: diff --git a/project/main3.py b/project/main3.py index 773e61d..ed89e2e 100644 --- a/project/main3.py +++ b/project/main3.py @@ -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", @@ -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" ]