mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-18 15:11:45 +00:00
parent
b28e751688
commit
6bd79800c3
@ -371,10 +371,10 @@ class YoutubeEntryListBaseInfoExtractor(YoutubeBaseInfoExtractor):
|
|||||||
query={
|
query={
|
||||||
'key': try_get(yt_conf, lambda x: x['INNERTUBE_API_KEY'])
|
'key': try_get(yt_conf, lambda x: x['INNERTUBE_API_KEY'])
|
||||||
},
|
},
|
||||||
data=bytes(json.dumps({
|
data= str(json.dumps({
|
||||||
'context': try_get(yt_conf, lambda x: x['INNERTUBE_CONTEXT']),
|
'context': try_get(yt_conf, lambda x: x['INNERTUBE_CONTEXT']),
|
||||||
'continuation': continuation_token
|
'continuation': continuation_token
|
||||||
}), encoding='utf-8'),
|
})).encode(encoding='UTF-8',errors='strict'),
|
||||||
headers={
|
headers={
|
||||||
'Content-Type': 'application/json'
|
'Content-Type': 'application/json'
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user