From 8fe915fcbb409c279c45348a20e74a44132b11f4 Mon Sep 17 00:00:00 2001 From: sigma67 Date: Mon, 9 Nov 2020 11:01:04 +0100 Subject: [PATCH] Use 3PAPISID for sapisidhash (closes #100) --- ytmusicapi/helpers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ytmusicapi/helpers.py b/ytmusicapi/helpers.py index fdb5654..e5efa45 100644 --- a/ytmusicapi/helpers.py +++ b/ytmusicapi/helpers.py @@ -38,7 +38,7 @@ def html_to_txt(html_text): def sapisid_from_cookie(raw_cookie): cookie = SimpleCookie() cookie.load(raw_cookie) - return cookie['SAPISID'].value + return cookie['__Secure-3PAPISID'].value # SAPISID Hash reverse engineered by