mirror of
https://github.com/RicterZ/nhentai.git
synced 2025-11-04 11:00:55 +01:00
take the warning of bs4 off
This commit is contained in:
@@ -33,7 +33,7 @@ def doujinshi_parser(id_):
|
||||
logger.critical(str(e))
|
||||
exit(1)
|
||||
|
||||
html = BeautifulSoup(response)
|
||||
html = BeautifulSoup(response, 'html.parser')
|
||||
doujinshi_info = html.find('div', attrs={'id': 'info'})
|
||||
|
||||
title = doujinshi_info.find('h1').text
|
||||
|
||||
Reference in New Issue
Block a user