Temporary fix for decoding errors

This commit is contained in:
Simon 2018-06-17 22:17:21 -04:00
parent 344e7274d7
commit b97b8f6784

View File

@ -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