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