[mod] update User Agent
git-svn-id: file:///srv/svn/repo/yukari/trunk@111 f3bd38d9-da89-464d-a02a-eb04e43141b5
This commit is contained in:
parent
dea5fae64b
commit
fb075c6bf2
2
morty.go
2
morty.go
@ -315,7 +315,7 @@ func (p *Proxy) RequestHandler(ctx *fasthttp.RequestCtx) {
|
||||
}
|
||||
|
||||
req.SetRequestURI(requestURIStr)
|
||||
req.Header.SetUserAgentBytes([]byte("Mozilla/5.0 (Windows NT 10.0; WOW64; rv:50.0) Gecko/20100101 Firefox/50.0"))
|
||||
req.Header.SetUserAgentBytes([]byte("Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Firefox/78.0"))
|
||||
|
||||
resp := fasthttp.AcquireResponse()
|
||||
defer fasthttp.ReleaseResponse(resp)
|
||||
|
Loading…
x
Reference in New Issue
Block a user