From 7a0d8279243ea1542035184f4e56c3d47c9c7c11 Mon Sep 17 00:00:00 2001 From: hanbao233xD <39661586+hanbao233xD@users.noreply.github.com> Date: Sun, 13 Oct 2024 00:05:04 +0800 Subject: [PATCH] Update util.go --- drivers/123/util.go | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/drivers/123/util.go b/drivers/123/util.go index 59b29760dc0..6365b1c9a1e 100644 --- a/drivers/123/util.go +++ b/drivers/123/util.go @@ -163,10 +163,9 @@ func (d *Pan123) login() error { SetHeaders(map[string]string{ "origin": "https://www.123pan.com", "referer": "https://www.123pan.com/", - "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": "Dart/2.19(dart:io)-alist", + "platform": "web", + "app-version": "3", //"user-agent": base.UserAgent, }). SetBody(body).Post(SignIn)