mirror of
https://github.com/RicterZ/nhentai.git
synced 2025-04-19 18:31:24 +02:00
workaround of #359
This commit is contained in:
parent
eae42c8eb5
commit
7483b8f923
@ -160,8 +160,8 @@ def doujinshi_parser(id_, counter=0):
|
|||||||
ext.append(ext_name)
|
ext.append(ext_name)
|
||||||
|
|
||||||
if not img_id:
|
if not img_id:
|
||||||
logger.critical('Tried yo get image id failed')
|
logger.critical(f'Tried yo get image id failed of id: {id_}')
|
||||||
sys.exit(1)
|
return None
|
||||||
|
|
||||||
doujinshi['img_id'] = img_id.group(1)
|
doujinshi['img_id'] = img_id.group(1)
|
||||||
doujinshi['ext'] = ext
|
doujinshi['ext'] = ext
|
||||||
|
Loading…
x
Reference in New Issue
Block a user