Switching from html5lib to lxml for tree builder issue in https://gist.github.com/Dark-Feather/025d9ff32487fa76457d52119dc0ff24

This commit is contained in:
DarkFeather 2022-10-25 13:19:42 -05:00
parent 5321cef954
commit 55cc01e61b
No known key found for this signature in database
GPG key ID: 1CC1E3F4ED06F296

View file

@ -316,7 +316,7 @@ class Client(object):
request_many = request_many
def strip_html(s: str) -> str:
return bs4.BeautifulSoup(s, "html5lib").get_text()
return bs4.BeautifulSoup(s, "lxml").get_text()
def resolve_hostname(hostname: str) -> typing.List[str]:
try: