From 175cb0700b86134d3b04eab23d100dce2c3b6d56 Mon Sep 17 00:00:00 2001 From: Philipp Tanlak Date: Sun, 24 Nov 2024 23:16:31 +0100 Subject: Change cache backend from sqlite to bbolt --- modules/cookies/cookies.go | 4 ---- 1 file changed, 4 deletions(-) (limited to 'modules/cookies/cookies.go') diff --git a/modules/cookies/cookies.go b/modules/cookies/cookies.go index 2af2a27..2f57a3f 100644 --- a/modules/cookies/cookies.go +++ b/modules/cookies/cookies.go @@ -51,10 +51,6 @@ func (m Module) AdaptTransport(t http.RoundTripper) http.RoundTripper { return flyscrape.RoundTripFunc(func(r *http.Request) (*http.Response, error) { for _, store := range stores { for _, cookie := range store.Cookies(r.URL) { - // Unquote cookie value - if len(cookie.Value) >= 2 && cookie.Value[0] == '"' && cookie.Value[len(cookie.Value)-1] == '"' { - cookie.Value = cookie.Value[1 : len(cookie.Value)-2] - } r.AddCookie(cookie) } } -- cgit v1.2.3