We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 14ee62a commit f9f76d1Copy full SHA for f9f76d1
apps/common/util/fork.py
@@ -142,7 +142,7 @@ def get_beautiful_soup(response):
142
if len(charset_list) > 0:
143
charset = charset_list[0]
144
if charset != encoding:
145
- html_content = response.content.decode(charset)
+ html_content = response.content.decode(encoding)
146
return BeautifulSoup(html_content, "html.parser")
147
return beautiful_soup
148
0 commit comments