workaround of #359

This commit is contained in:
ricterz 2024-12-11 23:58:48 +08:00
parent eae42c8eb5
commit 7483b8f923

View File

@ -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