From 222337a5f09c0bfcabd479e91d8e1b1f42f9fac2 Mon Sep 17 00:00:00 2001 From: wenead99 <42309414+wenead99@users.noreply.github.com> Date: Tue, 18 Jun 2019 18:02:01 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9FC2=E6=8F=90=E5=8F=96?= =?UTF-8?q?=E5=BC=82=E5=B8=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core.py b/core.py index 4013eeb..0f20df3 100644 --- a/core.py +++ b/core.py @@ -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: