When fetching RSS/Atom feeds in news_radar.py or any new feed-puller, prefer the requests library over urllib. Many sites (StackExchange, others behind Cloudflare) return HTTP 403 to urllib but 200 to requests due to TLS handshake fingerprinting.
When adding any new RSS/Atom feed source, prefer requests over urllib.request.
Read the doctrine. Apply it on the next ship cycle.
When fetching RSS/Atom feeds in news_radar.py or any new feed-puller, prefer the requests library over urllib. Many sites (StackExchange, others behind Cloudflare) return HTTP 403 to urllib but 200 to requests due to TLS handshake fingerprinting.
"I'm almost positive I can help. If I can't, you don't pay."
— PJ · SideGuy Solutions · 858-461-8054 · sms:+18584618054
📲 Text PJ — 858-461-8054