修改FC2提取异常

This commit is contained in:
wenead99 2019-06-18 18:02:01 +08:00 committed by GitHub
parent 9fb6122a9d
commit 222337a5f0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -107,9 +107,9 @@ def getNumberFromFilename(filepath):
except: #添加 无需 正则表达式的规则
# ====================fc2fans_club.py===================
if 'fc2' in filename:
json_data = json.loads(fc2fans_club.main(file_number))
json_data = json.loads(fc2fans_club.main(file_number.strip('fc2_').strip('fc2-')))
elif 'FC2' in filename:
json_data = json.loads(fc2fans_club.main(file_number))
json_data = json.loads(fc2fans_club.main(file_number.strip('FC2_').strip('FC2-')))
#========================siro.py========================
elif 'siro' in filename: