File size: 901 Bytes
45e0954
 
214c1ff
 
fa2ba95
214c1ff
 
 
 
 
 
 
 
 
 
 
 
 
203e844
aff870b
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
DATABASE = "rss_news_db_cat_pred_sim_news"
COLLECTION = "rss_news_cat_pred_sim_news"
NEWS_EXTRACTOR_URL_TIMEOUT = 5

RSS_FEEDS_TO_EXTRACT = ['https://www.economictimes.indiatimes.com/rssfeedstopstories.cms',
       'https://www.thehindu.com/news/feeder/default.rss',
       # 'https://telanganatoday.com/feed',
       'https://www.businesstoday.in/rssfeeds/?id=225346',
       'https://feeds.feedburner.com/ndtvnews-latest',
       'https://www.hindustantimes.com/feeds/rss/world-news/rssfeed.xml',
       'https://www.indiatoday.in/rss/1206578',
       'https://www.moneycontrol.com/rss/latestnews.xml',
       'https://www.livemint.com/rss/news',
       'https://www.zeebiz.com/latest.xml/feed',
       'https://www.timesofindia.indiatimes.com/rssfeedmostrecent.cms']

DISTILBERT_TOKENIZER_N_TOKENS = 80
NEWS_CATEGORY_CLASSIFIER_N_CLASSES = 8
CLASSIFIER_THRESHOLD = 0.5
NEWS_RETENTION_SECONDS = 300