mirror of
https://github.com/RicterZ/nhentai.git
synced 2025-07-11 03:51:40 +02:00
workaround of #359
This commit is contained in:
@ -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
|
||||||
|
Reference in New Issue
Block a user