commit 1706893d699abe2cfd37971d507beb17d9777a4e from: Aleksey Ryndin date: Fri Oct 11 05:55:26 2024 UTC Fix: UnicodeDecodeError (correct) commit - 06c1743a9e5fcb05b8538bc3b3e337ac003b9002 commit + 1706893d699abe2cfd37971d507beb17d9777a4e blob - b8e7b252ffc2f71aa9255bc4b966d9c6db71f57c blob + 351976536711350437d907430dbafda3d45723e4 --- 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", errors="ignore") + rss_content = response.read() collected = [] for root_child in ET.fromstring(rss_content):