Skip to content

Commit

Permalink
update default useragent
Browse files Browse the repository at this point in the history
  • Loading branch information
tiltwind committed Jun 7, 2023
1 parent 410759d commit 18cc230
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions internal/httpx/http.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,8 @@ var HTTPClient = &http.Client{
var defaultHTTPHeaders = map[string]string{
"accept": "*/*",
"accept-language": "zh-CN,zh;q=0.9,en;q=0.8,en-US;q=0.7",
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) " +
"AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.51 Safari/537.36",
"mode": "cors",
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.3",
"mode": "cors",
}

//nolint:gochecknoglobals //ignore this.
Expand Down

0 comments on commit 18cc230

Please sign in to comment.