From ab8e29402c44dbb882be97384242e6f8f055fb5b Mon Sep 17 00:00:00 2001 From: roger_home_pc Date: Sun, 20 Aug 2023 12:41:57 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E4=B8=80=E4=B8=8B=E5=BD=93?= =?UTF-8?q?=E9=93=BE=E6=8E=A5=E9=AA=8C=E8=AF=81=E5=A4=B1=E8=B4=A5=E5=90=8E?= =?UTF-8?q?=E4=B8=8D=E5=86=8D=E5=88=9B=E5=BB=BA=E6=96=87=E4=BB=B6=E5=A4=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.py | 2 +- req.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/main.py b/main.py index 7dbf4ba..086d8d2 100644 --- a/main.py +++ b/main.py @@ -6,7 +6,7 @@ import random # config # get_end_date = 'today' -get_end_date = '2023-08-09' +get_end_date = '2023-08-01' # 整理链接格式 diff --git a/req.py b/req.py index 6fce235..ecd3d06 100644 --- a/req.py +++ b/req.py @@ -166,13 +166,13 @@ class ReqAction: if isinstance(temp_path_list, list) and base_path[:-1] not in [_dir['path'] for _dir in temp_path_list]: self.create_dir(base_path) base_path_list = self.get_dir_list(base_path) - if isinstance(base_path_list, list) and save_path not in [_dir['path'] for _dir in base_path_list]: - self.create_dir(save_path) verified_links = self.verify_links(save_link, save_code) if isinstance(verified_links, int): if verified_links == -9: return True, '链接密码错误' if isinstance(verified_links, list): + if isinstance(base_path_list, list) and save_path not in [_dir['path'] for _dir in base_path_list]: + self.create_dir(save_path) result, name = self.transfer_files(verified_links, save_path) if result == 0 or result == 4: return True, name