Spaces:
Running
Running
Update main.py
Browse files
main.py
CHANGED
|
@@ -53,41 +53,43 @@ def is_relevant(title, summary=""):
|
|
| 53 |
return False
|
| 54 |
|
| 55 |
# --- FEEDS DICTIONARIES ---
|
|
|
|
|
|
|
| 56 |
CONGRESS_PRESS_FEEDS = {
|
| 57 |
-
"Sen. Cruz (Commerce Chair)": "
|
| 58 |
-
"Sen. Schumer (AI Lead)": "https://www.
|
| 59 |
-
"Sen. Young (AI Caucus)": "https://www.young.senate.gov/newsroom/press-releases
|
| 60 |
-
"Sen. Andy Kim (Tech Lead)": "https://www.kim.senate.gov/
|
| 61 |
"Rep. Babin (Science Chair)": "https://babin.house.gov/rss.xml",
|
| 62 |
"Rep. Obernolte (Tech Chair)": "https://obernolte.house.gov/rss.xml",
|
| 63 |
-
"Rep. Moore (UT)": "https://blakemoore.house.gov/
|
| 64 |
}
|
| 65 |
|
| 66 |
NEWS_FEEDS = {
|
| 67 |
"NYT Tech": "https://rss.nytimes.com/services/xml/rss/nyt/Technology.xml",
|
| 68 |
-
"Wired AI": "https://www.wired.com/feed/tag/ai/latest/rss",
|
| 69 |
"WashPost Tech": "https://feeds.washingtonpost.com/rss/business/technology",
|
| 70 |
"MIT Tech Review": "https://www.technologyreview.com/topic/artificial-intelligence/feed/",
|
| 71 |
"Politico Tech": "https://rss.politico.com/technology.xml",
|
| 72 |
"Ars Technica Policy": "https://feeds.arstechnica.com/arstechnica/tech-policy",
|
| 73 |
-
"Axios Tech": "https://
|
| 74 |
"FedScoop": "https://fedscoop.com/feed/",
|
| 75 |
-
"Defense One Tech": "https://www.defenseone.com/rss/
|
| 76 |
"Nextgov/FCW": "https://www.nextgov.com/rss/all/",
|
| 77 |
"TechCrunch AI": "https://techcrunch.com/category/artificial-intelligence/feed/",
|
| 78 |
-
"The Verge Tech": "https://www.theverge.com/
|
| 79 |
-
"WSJ Technology": "https://feeds.content.dowjones.io/public/rss/
|
| 80 |
-
"SF Chronicle Tech": "https://www.sfchronicle.com/
|
| 81 |
"BBC Tech": "https://feeds.bbci.co.uk/news/technology/rss.xml",
|
| 82 |
"The Guardian Tech": "https://www.theguardian.com/technology/rss",
|
| 83 |
"The Register AI": "https://www.theregister.com/software/ai_ml/headlines.atom",
|
| 84 |
"Tech Policy Press": "https://www.techpolicy.press/rss/",
|
| 85 |
-
"Financial Times Tech": "https://www.ft.com/technology?format=rss",
|
| 86 |
-
"The Hill Tech": "https://thehill.com/policy/technology/feed/"
|
| 87 |
}
|
| 88 |
|
| 89 |
GOV_FEEDS = {
|
| 90 |
-
"White House OSTP": "https://www.whitehouse.gov/ostp/feed/",
|
| 91 |
"White House Briefing Room": "https://www.whitehouse.gov/briefing-room/feed/",
|
| 92 |
"DOE Artificial Intelligence": "https://www.energy.gov/topics/artificial-intelligence/rss",
|
| 93 |
"DOE Office of Science": "https://science.osti.gov/RSS",
|
|
@@ -96,7 +98,7 @@ GOV_FEEDS = {
|
|
| 96 |
"NTIA (Internet Policy)": "https://www.ntia.gov/rss.xml",
|
| 97 |
"CDAO (Defense AI Office)": "https://www.cdao.mil/News/RSS/",
|
| 98 |
"FTC Technology Blog": "https://www.ftc.gov/news-events/blogs/techftc/feed",
|
| 99 |
-
"GSA (Fed IT News)": "https://www.gsa.gov/about-us/newsroom/news-releases/rss"
|
| 100 |
}
|
| 101 |
|
| 102 |
CALENDAR_FEEDS = {
|
|
@@ -106,7 +108,7 @@ CALENDAR_FEEDS = {
|
|
| 106 |
"Senate Commerce RSS": "https://www.commerce.senate.gov/RSS",
|
| 107 |
"Senate Judiciary RSS": "https://www.judiciary.senate.gov/RSS",
|
| 108 |
"Senate Foreign Relations RSS": "https://www.foreign.senate.gov/hearings?rss=1",
|
| 109 |
-
"DOE Events": "https://www.energy.gov/events/rss"
|
| 110 |
}
|
| 111 |
|
| 112 |
# --- AI SETUP & ANALYZER ---
|
|
|
|
| 53 |
return False
|
| 54 |
|
| 55 |
# --- FEEDS DICTIONARIES ---
|
| 56 |
+
# --- FEEDS DICTIONARIES ---
|
| 57 |
+
|
| 58 |
CONGRESS_PRESS_FEEDS = {
|
| 59 |
+
"Sen. Cruz (Commerce Chair)": "http://commerce.senate.gov/public/?a=RSS.Feed",
|
| 60 |
+
"Sen. Schumer (AI Lead)": "https://www.democrats.senate.gov/newsroom/press-releases/feed/",
|
| 61 |
+
"Sen. Young (AI Caucus)": "https://www.young.senate.gov/newsroom/press-releases/feed/",
|
| 62 |
+
"Sen. Andy Kim (Tech Lead)": "https://www.kim.senate.gov/press-releases/feed/",
|
| 63 |
"Rep. Babin (Science Chair)": "https://babin.house.gov/rss.xml",
|
| 64 |
"Rep. Obernolte (Tech Chair)": "https://obernolte.house.gov/rss.xml",
|
| 65 |
+
"Rep. Moore (UT)": "https://blakemoore.house.gov/rss.xml",
|
| 66 |
}
|
| 67 |
|
| 68 |
NEWS_FEEDS = {
|
| 69 |
"NYT Tech": "https://rss.nytimes.com/services/xml/rss/nyt/Technology.xml",
|
| 70 |
+
"Wired AI": "https://www.wired.com/feed/tag/ai/latest/rss",
|
| 71 |
"WashPost Tech": "https://feeds.washingtonpost.com/rss/business/technology",
|
| 72 |
"MIT Tech Review": "https://www.technologyreview.com/topic/artificial-intelligence/feed/",
|
| 73 |
"Politico Tech": "https://rss.politico.com/technology.xml",
|
| 74 |
"Ars Technica Policy": "https://feeds.arstechnica.com/arstechnica/tech-policy",
|
| 75 |
+
"Axios Tech": "https://api.axios.com/api/render/feed/technology",
|
| 76 |
"FedScoop": "https://fedscoop.com/feed/",
|
| 77 |
+
"Defense One Tech": "https://www.defenseone.com/rss/all/",
|
| 78 |
"Nextgov/FCW": "https://www.nextgov.com/rss/all/",
|
| 79 |
"TechCrunch AI": "https://techcrunch.com/category/artificial-intelligence/feed/",
|
| 80 |
+
"The Verge Tech": "https://www.theverge.com/rss/tech/index.xml",
|
| 81 |
+
"WSJ Technology": "https://feeds.content.dowjones.io/public/rss/RSSWSJD",
|
| 82 |
+
"SF Chronicle Tech": "https://www.sfchronicle.com/rss/feed/",
|
| 83 |
"BBC Tech": "https://feeds.bbci.co.uk/news/technology/rss.xml",
|
| 84 |
"The Guardian Tech": "https://www.theguardian.com/technology/rss",
|
| 85 |
"The Register AI": "https://www.theregister.com/software/ai_ml/headlines.atom",
|
| 86 |
"Tech Policy Press": "https://www.techpolicy.press/rss/",
|
| 87 |
+
"Financial Times Tech": "https://www.ft.com/technology?format=rss", # may hit paywall
|
| 88 |
+
"The Hill Tech": "https://thehill.com/policy/technology/feed/",
|
| 89 |
}
|
| 90 |
|
| 91 |
GOV_FEEDS = {
|
| 92 |
+
"White House OSTP": "https://www.whitehouse.gov/ostp/feed/", # monitor — OSTP restructured
|
| 93 |
"White House Briefing Room": "https://www.whitehouse.gov/briefing-room/feed/",
|
| 94 |
"DOE Artificial Intelligence": "https://www.energy.gov/topics/artificial-intelligence/rss",
|
| 95 |
"DOE Office of Science": "https://science.osti.gov/RSS",
|
|
|
|
| 98 |
"NTIA (Internet Policy)": "https://www.ntia.gov/rss.xml",
|
| 99 |
"CDAO (Defense AI Office)": "https://www.cdao.mil/News/RSS/",
|
| 100 |
"FTC Technology Blog": "https://www.ftc.gov/news-events/blogs/techftc/feed",
|
| 101 |
+
"GSA (Fed IT News)": "https://www.gsa.gov/about-us/newsroom/news-releases/rss",
|
| 102 |
}
|
| 103 |
|
| 104 |
CALENDAR_FEEDS = {
|
|
|
|
| 108 |
"Senate Commerce RSS": "https://www.commerce.senate.gov/RSS",
|
| 109 |
"Senate Judiciary RSS": "https://www.judiciary.senate.gov/RSS",
|
| 110 |
"Senate Foreign Relations RSS": "https://www.foreign.senate.gov/hearings?rss=1",
|
| 111 |
+
"DOE Events": "https://www.energy.gov/events/rss",
|
| 112 |
}
|
| 113 |
|
| 114 |
# --- AI SETUP & ANALYZER ---
|