From 69ee866e3546ae3ae386db73af0674543bc900c4 Mon Sep 17 00:00:00 2001 From: qing <919836565@qq.com> Date: Wed, 25 Sep 2024 11:21:55 +0800 Subject: [PATCH] =?UTF-8?q?android=E5=8D=8F=E8=AE=AE=E6=B7=BB=E5=8A=A0?= =?UTF-8?q?=E6=96=87=E4=BB=B6=E5=A4=B9=E4=B8=8B=E8=BD=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- android.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/android.py b/android.py index 5b28b17..799b1c4 100644 --- a/android.py +++ b/android.py @@ -4,6 +4,7 @@ import os import re import time +import uuid import requests @@ -40,7 +41,7 @@ class Pan123: # "authorization": "", "content-type": "application/json", "osversion": "Android_7.1.2", - "loginuuid": "3ec3167d3ba54ba61ea15b823b0a05f4", + "loginuuid": str(uuid.uuid4().hex), "platform": "android", "devicetype": "M2101K9C", "x-channel": "1004", @@ -140,8 +141,8 @@ class Pan123: text = a.json() res_code_getdir = text["code"] if res_code_getdir != 0: - print(a.text) - print(a.headers) + #print(a.text) + #print(a.headers) print("code = 2 Error:" + str(res_code_getdir)) return res_code_getdir lists_page = text["data"]["InfoList"]