html_parser -> html.parser

This commit is contained in:
2023-03-17 22:20:19 -04:00
parent b4253d58f1
commit 389c91609a

View File

@@ -14,7 +14,7 @@ async def search(txt):
'request':txt
})
doc = soup(resp.text, 'html_parser')
doc = soup(resp.text, 'html.parser')
if 'not found' in doc.title:
return None