Skip to content

Commit 04aaa59

Browse files
committed
1 parent 0b64cf8 commit 04aaa59

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/core/common.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3561,7 +3561,7 @@ def geturl(self):
35613561

35623562
try:
35633563
forms = ParseResponse(response, backwards_compat=False)
3564-
except UnicodeError:
3564+
except (UnicodeError, ValueError):
35653565
pass
35663566
except ParseError:
35673567
if "<html" in (content or ""):

0 commit comments

Comments
 (0)