get_soup() decode utf8

This commit is contained in:
simon987 2021-05-14 09:59:59 -04:00
parent 75bf2c2d85
commit f8e93354a4

View File

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