html_parser -> html.parser
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user