Compare commits

...

4 Commits

Author SHA1 Message Date
Tom-Oliver Heidel d052b9a112
[skip travis] typo 2020-11-11 15:39:00 +01:00
Unknown 5e6cdcecdd flake8 yt py2 fix 2020-11-11 15:15:24 +01:00
Tom-Oliver Heidel c297a6c661
[skip travis] 2020-11-11 15:08:12 +01:00
Unknown 6bd79800c3 [youtube] python2 fix #168
proposed fix by awei78
2020-11-11 15:05:18 +01:00
3 changed files with 4 additions and 4 deletions

View File

@ -113,7 +113,7 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.5.4 32-Bit
- name: Set up Python 3.4.4 32-Bit
uses: actions/setup-python@v2
with:
python-version: '3.4.4'

View File

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

View File

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