loayshabet commited on
Commit
2267b2b
·
verified ·
1 Parent(s): fa5e64a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +26 -3
app.py CHANGED
@@ -21,9 +21,32 @@ TIMEOUT_LIMIT = 30 # Maximum time in seconds to process summaries
21
 
22
  # News sources
23
  NEWS_SOURCES = {
24
- "Technology": {"NYTimes": "https://rss.nytimes.com/services/xml/rss/nyt/Technology.xml"},
25
- "Business": {"Reuters": "https://www.reutersagency.com/feed/?best-topics=business-finance&post_type=best"},
26
- "World": {"BBC": "http://feeds.bbci.co.uk/news/world/rss.xml"},
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
27
  }
28
 
29
  # Initialize cache
 
21
 
22
  # News sources
23
  NEWS_SOURCES = {
24
+ "Technology": {
25
+ "TheNewYorkTimes": "https://rss.nytimes.com/services/xml/rss/nyt/Technology.xml",
26
+ "reutersagency": "https://www.reutersagency.com/feed/?best-topics=tech&post_type=best"
27
+ },
28
+ "Business": {
29
+ "TheNewYorkTimes": "https://rss.nytimes.com/services/xml/rss/nyt/Business.xml",
30
+ "reutersagency": "https://www.reutersagency.com/feed/?best-topics=business-finance&post_type=best"
31
+ },
32
+ "Science": {
33
+ "TheNewYorkTimes": "https://rss.nytimes.com/services/xml/rss/nyt/Science.xml"
34
+ },
35
+ "World News": {
36
+ "TheNewYorkTimes": "https://rss.nytimes.com/services/xml/rss/nyt/World.xml",
37
+ "BBC": "http://feeds.bbci.co.uk/news/world/rss.xml",
38
+ "CNN": "http://rss.cnn.com/rss/edition_world.rss",
39
+ "reutersagency": "https://www.reutersagency.com/feed/?taxonomy=best-regions&post_type=best"
40
+ },
41
+ "Sports": {
42
+ "TheNewYorkTimes": "https://rss.nytimes.com/services/xml/rss/nyt/Sports.xml",
43
+ "reutersagency": "https://www.reutersagency.com/feed/?best-topics=sports&post_type=best"
44
+ },
45
+ "Health": {
46
+ "TheNewYorkTimes": "https://rss.nytimes.com/services/xml/rss/nyt/Health.xml",
47
+ "politico": "http://rss.politico.com/healthcare.xml",
48
+ "reutersagency": "https://www.reutersagency.com/feed/?best-topics=health&post_type=best"
49
+ },
50
  }
51
 
52
  # Initialize cache