lalithadevi commited on
Commit
214c1ff
1 Parent(s): c2c5fc6

Create config.py

Browse files
Files changed (1) hide show
  1. config.py +19 -0
config.py ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ DATABASE = "rss_news_db"
2
+ COLLECTION = "rss_news"
3
+ NEWS_EXTRACTOR_URL_TIMEOUT = 5
4
+
5
+ RSS_FEERS_TO_EXTRACT = ['https://www.economictimes.indiatimes.com/rssfeedstopstories.cms',
6
+ 'https://www.thehindu.com/news/feeder/default.rss',
7
+ # 'https://telanganatoday.com/feed',
8
+ 'https://www.businesstoday.in/rssfeeds/?id=225346',
9
+ 'https://feeds.feedburner.com/ndtvnews-latest',
10
+ 'https://www.hindustantimes.com/feeds/rss/world-news/rssfeed.xml',
11
+ 'https://www.indiatoday.in/rss/1206578',
12
+ 'https://www.moneycontrol.com/rss/latestnews.xml',
13
+ 'https://www.livemint.com/rss/news',
14
+ 'https://www.zeebiz.com/latest.xml/feed',
15
+ 'https://www.timesofindia.indiatimes.com/rssfeedmostrecent.cms']
16
+
17
+ DISTILBERT_TOKENIZER_N_TOKENS = 80
18
+ NEWS_CATEGORY_CLASSIFIER_N_CLASSES = 8
19
+ CLASSIFIER_THRESHOLD = 0.65