Merge pull request #170 from blackjack4494/master

Release 2020.11.11 Unhappy Singles Day
pull/302/head 2020.11.11-3
Tom-Oliver Heidel 4 years ago committed by GitHub
commit 97d391cd0d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

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

Loading…
Cancel
Save