Remove need for X-Youtube-Identity-Token
This commit is contained in:
parent
09c10beb8a
commit
c4d33005eb
2 changed files with 1 additions and 2 deletions
|
|
@ -6,6 +6,5 @@
|
||||||
"X-Goog-AuthUser": "0",
|
"X-Goog-AuthUser": "0",
|
||||||
"x-origin": "https://music.youtube.com",
|
"x-origin": "https://music.youtube.com",
|
||||||
"Authorization": "PASTE_AUTHORIZATION",
|
"Authorization": "PASTE_AUTHORIZATION",
|
||||||
"X-Youtube-Identity-Token": "PASTE_IDENTITY",
|
|
||||||
"Cookie" : "PASTE_COOKIE"
|
"Cookie" : "PASTE_COOKIE"
|
||||||
}
|
}
|
||||||
|
|
@ -15,7 +15,7 @@ def setup():
|
||||||
break
|
break
|
||||||
contents.append(line)
|
contents.append(line)
|
||||||
|
|
||||||
required_headers = ["Authorization", "X-Youtube-Identity-Token", "Cookie"]
|
required_headers = ["Authorization", "Cookie"]
|
||||||
try:
|
try:
|
||||||
headers = {}
|
headers = {}
|
||||||
for content in contents:
|
for content in contents:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue