From fb075c6bf2eb09f0bfac7eac586b266acecd8fd7 Mon Sep 17 00:00:00 2001 From: alex Date: Mon, 13 Jul 2020 17:36:21 +0000 Subject: [PATCH] [mod] update User Agent git-svn-id: file:///srv/svn/repo/yukari/trunk@111 f3bd38d9-da89-464d-a02a-eb04e43141b5 --- morty.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/morty.go b/morty.go index 2351fcd..2e45ed8 100644 --- a/morty.go +++ b/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)