deploy: replace paywalled NYT with AP and CNBC

This commit is contained in:
2026-05-27 14:24:16 +00:00
parent f02ac40b91
commit 585b7f2639
+5 -5
View File
@@ -869,17 +869,17 @@ if __name__ == "__main__":
import re import re
cache_file = _HOME / "kiosk-home" / "news-data.json" 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 = [ world_catalog = [
("http://feeds.bbci.co.uk/news/world/rss.xml", "BBC News"), ("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 = [ national_catalog = [
("https://feeds.npr.org/1001/rss.xml", "NPR News"), ("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): def scrape_article(url):