From fd8ef393ea64f08c2bccafe618754e6812011a45 Mon Sep 17 00:00:00 2001 From: hanbao233xD <39661586+hanbao233xD@users.noreply.github.com> Date: Sat, 12 Oct 2024 23:48:48 +0800 Subject: [PATCH] Update util.go --- drivers/123/util.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/123/util.go b/drivers/123/util.go index 93b027c8a93..59b29760dc0 100644 --- a/drivers/123/util.go +++ b/drivers/123/util.go @@ -163,8 +163,8 @@ func (d *Pan123) login() error { SetHeaders(map[string]string{ "origin": "https://www.123pan.com", "referer": "https://www.123pan.com/", - "user-agent": "123pan/v2.4.0(Android_7.1.2;Xiaomi)", - "platform": "android", + "user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) alist-client", + "platform": "web", "app-version": "61", "x-app-version": "2.4.0", //"user-agent": base.UserAgent,