version 2020.11.20
This commit is contained in:
parent
b26cd01621
commit
486463ba53
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -39,6 +39,7 @@ updates_key.pem
|
||||||
*.part
|
*.part
|
||||||
*.ytdl
|
*.ytdl
|
||||||
*.swp
|
*.swp
|
||||||
|
*.webm
|
||||||
test/local_parameters.json
|
test/local_parameters.json
|
||||||
.tox
|
.tox
|
||||||
youtube-dl.zsh
|
youtube-dl.zsh
|
||||||
|
|
|
@ -1101,13 +1101,12 @@ class YoutubeIE(YoutubeBaseInfoExtractor):
|
||||||
def _decrypt_signature_protected(self, s):
|
def _decrypt_signature_protected(self, s):
|
||||||
a = list(s)
|
a = list(s)
|
||||||
a.reverse()
|
a.reverse()
|
||||||
a = a[2:]
|
a = self.mess(a, 10)
|
||||||
a = self.mess(a, 65)
|
|
||||||
a = a[2:]
|
|
||||||
a.reverse()
|
a.reverse()
|
||||||
a = a[3:]
|
a = a[1:]
|
||||||
a.reverse()
|
a = self.mess(a, 13)
|
||||||
a = self.mess(a, 2)
|
a = a[2:]
|
||||||
|
a = self.mess(a, 15)
|
||||||
return "".join(a)
|
return "".join(a)
|
||||||
|
|
||||||
def _get_subtitles(self, video_id, webpage):
|
def _get_subtitles(self, video_id, webpage):
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
from __future__ import unicode_literals
|
from __future__ import unicode_literals
|
||||||
|
|
||||||
__version__ = '2020.11.16'
|
__version__ = '2020.11.20'
|
||||||
|
|
Loading…
Reference in a new issue