Remove need for X-Youtube-Identity-Token

This commit is contained in:
sigma67 2020-03-27 12:26:44 +01:00
commit c4d33005eb
No known key found for this signature in database
GPG key ID: 1545A01D4474BAF0
2 changed files with 1 additions and 2 deletions

View file

@ -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"
}

View file

@ -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: