version 2020.11.20

This commit is contained in:
Dominika 2020-11-20 13:36:08 +01:00
parent b26cd01621
commit 486463ba53
3 changed files with 7 additions and 7 deletions

1
.gitignore vendored
View file

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

View file

@ -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):

View file

@ -1,3 +1,3 @@
from __future__ import unicode_literals from __future__ import unicode_literals
__version__ = '2020.11.16' __version__ = '2020.11.20'