新增失败文件列表以避免重复刮削,模式3与软连接适用

This commit is contained in:
lededev
2021-09-26 04:25:25 +08:00
parent e87f5b7a1f
commit c6efec91dd
3 changed files with 60 additions and 44 deletions

View File

@@ -126,8 +126,8 @@ def get_data_from_json(file_number, conf: config.Config): # 从JSON返回元数
# Return if data not found in all sources
if not json_data:
print('[-]Movie Data not found!')
return
print('[-]Movie Number not found!')
return None
# ================================================网站规则添加结束================================================
@@ -165,8 +165,8 @@ def get_data_from_json(file_number, conf: config.Config): # 从JSON返回元数
actor = str(actor_list).strip("[ ]").replace("'", '').replace(" ", '')
if title == '' or number == '':
print('[-]Movie Data not found!')
return
print('[-]Movie Number or Title not found!')
return None
# if imagecut == '3':
# DownloadFileWithFilename()