fix(feiji): modify the request header (#7902 close #7890)

This commit is contained in:
Sakana 2025-02-09 18:35:39 +08:00 committed by GitHub
parent 3f9bed3d5f
commit ec3fc945a3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -73,6 +73,7 @@ func (d *ILanZou) request(pathname, method string, callback base.ReqCallback, pr
"Referer": d.conf.site + "/",
"User-Agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Safari/537.36 Edg/125.0.0.0",
"Accept-Encoding": "gzip, deflate, br, zstd",
"Accept-Language": "zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6,mt;q=0.5",
})
if callback != nil {