Jayeshbhaal commited on
Commit
a6d76f1
1 Parent(s): eba9c51
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -19,7 +19,7 @@ print(f"HF_TOKEN is - {HF_TOKEN}")
19
 
20
  #times of india
21
  all_articles_toi = newsapi.get_everything(sources='the-times-of-india',
22
- domains='timesofindia.indiatimes.com',
23
  from_param=today,
24
  to=today,
25
  language='en',
@@ -30,7 +30,7 @@ print(f"all_articles_toi length is {len(all_articles_toi['articles'])}")
30
 
31
  #the hindu
32
  all_articles_hindu = newsapi.get_everything(sources='the-hindu',
33
- domains='thehindu.com',
34
  from_param=today,
35
  to=today,
36
  language='en',
@@ -41,7 +41,7 @@ print(f"all_articles_hindu length is {len(all_articles_hindu['articles'])}")
41
 
42
  #google news
43
  all_articles_google = newsapi.get_everything(sources='google-news-in',
44
- domains='news.google.com',
45
  from_param=today,
46
  to=today,
47
  language='en',
 
19
 
20
  #times of india
21
  all_articles_toi = newsapi.get_everything(sources='the-times-of-india',
22
+ domains= 'http://timesofindia.indiatimes.com', #'timesofindia.indiatimes.com',
23
  from_param=today,
24
  to=today,
25
  language='en',
 
30
 
31
  #the hindu
32
  all_articles_hindu = newsapi.get_everything(sources='the-hindu',
33
+ domains= 'http://www.thehindu.com', #'thehindu.com',
34
  from_param=today,
35
  to=today,
36
  language='en',
 
41
 
42
  #google news
43
  all_articles_google = newsapi.get_everything(sources='google-news-in',
44
+ domains = 'https://news.google.com', #'news.google.com',
45
  from_param=today,
46
  to=today,
47
  language='en',