mirror of
https://github.com/blackjack4494/yt-dlc.git
synced 2024-12-21 23:33:10 +00:00
flake8 yt py2 fix
This commit is contained in:
parent
c297a6c661
commit
5e6cdcecdd
1 changed files with 2 additions and 2 deletions
|
@ -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= str(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
|
||||||
})).encode(encoding='UTF-8',errors='strict'),
|
})).encode(encoding='UTF-8', errors='strict'),
|
||||||
headers={
|
headers={
|
||||||
'Content-Type': 'application/json'
|
'Content-Type': 'application/json'
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue