From c4d33005ebc9974198b0504662e360f7a0eae339 Mon Sep 17 00:00:00 2001 From: sigma67 Date: Fri, 27 Mar 2020 12:26:44 +0100 Subject: [PATCH] Remove need for X-Youtube-Identity-Token --- headers_auth.json.example | 1 - ytmusicapi/setup.py | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/headers_auth.json.example b/headers_auth.json.example index d548167..6f08eaf 100644 --- a/headers_auth.json.example +++ b/headers_auth.json.example @@ -6,6 +6,5 @@ "X-Goog-AuthUser": "0", "x-origin": "https://music.youtube.com", "Authorization": "PASTE_AUTHORIZATION", - "X-Youtube-Identity-Token": "PASTE_IDENTITY", "Cookie" : "PASTE_COOKIE" } \ No newline at end of file diff --git a/ytmusicapi/setup.py b/ytmusicapi/setup.py index a3fff27..6da9dea 100644 --- a/ytmusicapi/setup.py +++ b/ytmusicapi/setup.py @@ -15,7 +15,7 @@ def setup(): break contents.append(line) - required_headers = ["Authorization", "X-Youtube-Identity-Token", "Cookie"] + required_headers = ["Authorization", "Cookie"] try: headers = {} for content in contents: