1
mirror of https://github.com/yt-dlp/yt-dlp synced 2024-11-18 08:56:11 +01:00

flake8 yt py2 fix

This commit is contained in:
Unknown 2020-11-11 15:15:24 +01:00
parent c297a6c661
commit 5e6cdcecdd

View File

@ -371,10 +371,10 @@ class YoutubeEntryListBaseInfoExtractor(YoutubeBaseInfoExtractor):
query={
'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']),
'continuation': continuation_token
})).encode(encoding='UTF-8',errors='strict'),
})).encode(encoding='UTF-8', errors='strict'),
headers={
'Content-Type': 'application/json'
}