deploy: replace paywalled NYT with AP and CNBC
This commit is contained in:
+5
-5
@@ -869,17 +869,17 @@ if __name__ == "__main__":
|
||||
import re
|
||||
cache_file = _HOME / "kiosk-home" / "news-data.json"
|
||||
|
||||
# Expanded catalog of highly reliable news sources
|
||||
# Expanded catalog of highly reliable, 100% paywall-free news sources
|
||||
world_catalog = [
|
||||
("http://feeds.bbci.co.uk/news/world/rss.xml", "BBC News"),
|
||||
("https://rss.nytimes.com/services/xml/rss/nyt/World.xml", "New York Times"),
|
||||
("https://www.aljazeera.com/xml/rss/all.xml", "Al Jazeera")
|
||||
("https://www.aljazeera.com/xml/rss/all.xml", "Al Jazeera"),
|
||||
("https://news.google.com/rss/search?q=source:%22Associated+Press%22", "Associated Press")
|
||||
]
|
||||
|
||||
national_catalog = [
|
||||
("https://feeds.npr.org/1001/rss.xml", "NPR News"),
|
||||
("https://rss.nytimes.com/services/xml/rss/nyt/US.xml", "New York Times"),
|
||||
("http://rss.cnn.com/rss/cnn_topstories.rss", "CNN News")
|
||||
("http://rss.cnn.com/rss/cnn_topstories.rss", "CNN News"),
|
||||
("https://search.cnbc.com/rs/search/all/view.xml?partnerId=2000", "CNBC News")
|
||||
]
|
||||
|
||||
def scrape_article(url):
|
||||
|
||||
Reference in New Issue
Block a user