Skip to content

Commit

Permalink
flake8 yt py2 fix
Browse files Browse the repository at this point in the history
  • Loading branch information
blackjack4494 committed Nov 11, 2020
1 parent c297a6c commit 5e6cdce
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions youtube_dlc/extractor/youtube.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'
}
Expand Down

0 comments on commit 5e6cdce

Please sign in to comment.