mirror of
https://github.com/RicterZ/nhentai.git
synced 2025-04-20 02:41:19 +02:00
🐶
This commit is contained in:
parent
35fec2e1f4
commit
fd0b53ee36
@ -82,7 +82,7 @@ def search_parser(keyword, page):
|
||||
logger.warn('If you are in China, please configure the proxy to fu*k GFW.')
|
||||
exit(1)
|
||||
|
||||
html = BeautifulSoup(response)
|
||||
html = BeautifulSoup(response, 'html.parser')
|
||||
doujinshi_search_result = html.find_all('div', attrs={'class': 'gallery'})
|
||||
for doujinshi in doujinshi_search_result:
|
||||
doujinshi_container = doujinshi.find('div', attrs={'class': 'caption'})
|
||||
|
Loading…
x
Reference in New Issue
Block a user