From 6b8d3ebbca76f6ea88100bb6933df6c5c79dc593 Mon Sep 17 00:00:00 2001 From: Kay Nelson Date: Wed, 17 May 2023 14:57:49 +0200 Subject: [PATCH] Update the default User-Agent --- search.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/search.go b/search.go index deb8702..a759786 100644 --- a/search.go +++ b/search.go @@ -284,7 +284,7 @@ func Search(ctx context.Context, searchTerm string, opts ...SearchOptions) ([]Re } if opts[0].UserAgent == "" { - c.UserAgent = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.5672 Safari/537.36" + c.UserAgent = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.36" } else { c.UserAgent = opts[0].UserAgent }