From fb2aaff769fc4b413db03904d4396baeaa510bee Mon Sep 17 00:00:00 2001 From: Mmx233 Date: Sun, 3 Dec 2023 20:38:51 +0800 Subject: [PATCH] =?UTF-8?q?improve:=20=E6=B7=BB=E5=8A=A0=20windows=20chrom?= =?UTF-8?q?e=20User-Agent=20=E4=BD=9C=E4=B8=BA=E9=BB=98=E8=AE=A4=E5=80=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- internal/config/default.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/internal/config/default.go b/internal/config/default.go index 6eae28b..3c770e3 100644 --- a/internal/config/default.go +++ b/internal/config/default.go @@ -39,5 +39,8 @@ var defaultConfig = ConfFromFile{ "token": "", }, }, + CustomHeader: map[string]interface{}{ + "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36", + }, }, }