Merge pull request #170 from blackjack4494/master

Release 2020.11.11 Unhappy Singles Day
This commit is contained in:
Tom-Oliver Heidel 2020-11-11 15:35:15 +01:00 committed by GitHub
commit 97d391cd0d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -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'
} }

View File

@ -1,3 +1,3 @@
from __future__ import unicode_literals from __future__ import unicode_literals
__version__ = '2020.11.11-1' __version__ = '2020.11.11-2'