From 1269c5e9133e811ecae57bb22b58ce2a186e7b80 Mon Sep 17 00:00:00 2001 From: qing <919836565@qq.com> Date: Fri, 27 Sep 2024 00:40:31 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E6=96=87=E4=BB=B6=E5=A4=B9?= =?UTF-8?q?=E9=80=92=E5=BD=92=E4=B8=8B=E8=BD=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- android.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/android.py b/android.py index 4d080ce..8474c6a 100644 --- a/android.py +++ b/android.py @@ -142,7 +142,7 @@ class Pan123: a = requests.get(base_url, headers=self.header_logined, params=params, timeout=10) # , verify=False) except: print("连接失败") - return -1 + return -1, [] # print(a.text) # print(a.headers) text = a.json() @@ -151,7 +151,7 @@ class Pan123: # print(a.text) # print(a.headers) print("code = 2 Error:" + str(res_code_getdir)) - return res_code_getdir + return res_code_getdir, [] lists_page = text["data"]["InfoList"] lists += lists_page total = text["data"]["Total"]