mirror of
https://github.com/simon987/od-database.git
synced 2025-04-20 10:56:47 +00:00
Temporary fix for decoding errors
This commit is contained in:
parent
344e7274d7
commit
b97b8f6784
@ -164,7 +164,7 @@ class HttpDirectory(RemoteDirectory):
|
||||
parser = HTMLAnchorParser()
|
||||
|
||||
for chunk in body:
|
||||
parser.feed(chunk.decode("utf-8"))
|
||||
parser.feed(chunk.decode("utf-8", errors="ignore"))
|
||||
for anchor in parser.anchors:
|
||||
yield anchor
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user