Commit Diff


commit - 7ffc8cefab316c47b53bfa33e29a6190397e00f4
commit + 06c1743a9e5fcb05b8538bc3b3e337ac003b9002
blob - 1514496fb9efcb8e147a76ea5837d177adedf157
blob + b8e7b252ffc2f71aa9255bc4b966d9c6db71f57c
--- ronk.py
+++ ronk.py
@@ -17,7 +17,7 @@ args = parser.parse_args()
 
 with dbm.open(args.db, 'c') as db:
     with urlopen(args.rss, timeout=15) as response:
-        rss_content = response.read().decode("utf8")
+        rss_content = response.read().decode("utf8", errors="ignore")
 
     collected = []
     for root_child in ET.fromstring(rss_content):