mirror of
https://github.com/simon987/hexlib.git
synced 2025-04-10 14:06:43 +00:00
get_soup() decode utf8
This commit is contained in:
parent
75bf2c2d85
commit
f8e93354a4
@ -192,4 +192,4 @@ class Web:
|
||||
r = self.get(url, **kwargs)
|
||||
if not r:
|
||||
return None
|
||||
return BeautifulSoup(r.content, "html.parser")
|
||||
return BeautifulSoup(r.content.decode("utf-8"), "html.parser")
|
||||
|
Loading…
x
Reference in New Issue
Block a user