From a406dbcf9586201d718c773ea6c599c368b55cfb Mon Sep 17 00:00:00 2001 From: JohnHKoh Date: Thu, 13 Oct 2022 09:58:22 -0400 Subject: [PATCH] Remove quotes from cookies --- ytmusicapi/helpers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ytmusicapi/helpers.py b/ytmusicapi/helpers.py index e174e70..a8a4311 100644 --- a/ytmusicapi/helpers.py +++ b/ytmusicapi/helpers.py @@ -42,7 +42,7 @@ def get_visitor_id(request_func): def sapisid_from_cookie(raw_cookie): cookie = SimpleCookie() - cookie.load(raw_cookie) + cookie.load(raw_cookie.replace("\"", "")) return cookie['__Secure-3PAPISID'].value