|
import os |
|
|
|
|
|
COLLECT_PREDICTION_DATA = 1 |
|
PRODUCTION_URL = os.getenv("PRODUCTION_DB_URL") |
|
PRODUCTION_DATABASE = "rss_news_db_cat_pred_sim_news" |
|
PRODUCTION_COLLECTION = "rss_news_cat_pred_sim_news" |
|
PREDICTION_URL = os.getenv("PREDICTION_DB_URL") |
|
PREDICTION_DATABASE = "indian_news_predictions_db" |
|
PREDICTION_COLLECTION = "indian_news_predictions_coll" |
|
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://www.thehindu.com/sport/feeder/default.rss', |
|
'https://www.thehindu.com/sci-tech/science/feeder/default.rss', |
|
'https://www.thehindu.com/news/international/feeder/default.rss', |
|
'https://www.indiatoday.in/rss/1206577', |
|
'https://www.indiatoday.in/rss/1206550', |
|
'https://www.gadgets360.com/rss/feeds', |
|
'https://health.economictimes.indiatimes.com/rss/recentstories', |
|
|
|
'https://www.businesstoday.in/rssfeeds/?id=225346', |
|
'https://feeds.feedburner.com/ndtvnews-latest', |
|
'https://feeds.feedburner.com/ndtvsports-latest', |
|
'https://www.hindustantimes.com/feeds/rss/world-news/rssfeed.xml', |
|
'https://www.hindustantimes.com/feeds/rss/lifestyle/health/rssfeed.xml', |
|
'https://www.hindustantimes.com/feeds/rss/astrology/rssfeed.xml', |
|
'https://www.indiatoday.in/rss/1206578', |
|
|
|
'https://www.indiatvnews.com/rssnews/topstory.xml', |
|
'https://www.livemint.com/rss/news', |
|
'https://www.livemint.com/rss/technology', |
|
'https://www.livemint.com/rss/education', |
|
'https://www.zeebiz.com/latest.xml/feed', |
|
'https://www.timesofindia.indiatimes.com/rssfeedmostrecent.cms'] |
|
|
|
|
|
|
|
CLASSIFIER_THRESHOLD = 0 |
|
NEWS_RETENTION_SECONDS = 300 |
|
|