feat: update user agent

This commit is contained in:
Yiyang Kang 2025-01-11 13:47:44 +09:00
parent 27f449e46c
commit 5a03b38b32
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@ func init() {
client. client.
SetTimeout(5*time.Second). SetTimeout(5*time.Second).
SetRetryCount(1). SetRetryCount(1).
SetHeader("User-Agent", "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Firefox/102.0") SetHeader("User-Agent", "Mozilla/5.0 (X11; Linux i686; rv:133.0) Gecko/20100101 Firefox/133.0")
} }
func fetch() (html []byte, err error) { func fetch() (html []byte, err error) {