Switching from html5lib to lxml for tree builder issue in https://gist.github.com/Dark-Feather/025d9ff32487fa76457d52119dc0ff24
This commit is contained in:
parent
5321cef954
commit
55cc01e61b
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue