mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-27 06:10:12 +01:00
flake8 yt py2 fix
This commit is contained in:
parent
c297a6c661
commit
5e6cdcecdd
|
@ -371,10 +371,10 @@ def _entries(self, page, playlist_id, max_pages=None):
|
|||
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'
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user