From 978a61f49e0b81da606d5cf7a56f92ee2f72078d Mon Sep 17 00:00:00 2001 From: Franklin-F Date: Sun, 1 Jun 2025 15:58:51 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E6=AD=A3=E8=A7=86=E9=A2=91?= =?UTF-8?q?=E6=8B=A5=E6=9C=89=E8=80=85ID=E7=9A=84=E6=8F=90=E5=8F=96?= =?UTF-8?q?=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index bb57755..7ed1357 100644 --- a/main.py +++ b/main.py @@ -102,7 +102,7 @@ def get_searchInfo(keyword, level, headers, proxy_name, r=2): calculated_index = index + 1 + (j - 1) * limit xid = iteminfo["id"] vid = base64.b64encode(f"Video:{xid}".encode('utf-8')).decode('utf-8') - uxid = iteminfo["owner"] + uxid = iteminfo["owner.id"] uid = base64.b64encode(f"Channel:{uxid}".encode('utf-8')).decode('utf-8') duration = iteminfo.get('duration') if duration <= 300: