+ new crypto for YT

merge-requests/5/head
Dominika Liberda 2021-02-22 20:31:44 +01:00
parent 32cf3c6401
commit 13db87c0a2
1 changed files with 3 additions and 2 deletions

View File

@ -1076,9 +1076,10 @@ class YoutubeIE(YoutubeBaseInfoExtractor):
def _decrypt_signature_protected(self, s):
a = list(s)
a = a[2:]
a.reverse()
a = self.mess(a, 29)
a = a[3:]
a = self.mess(a, 37)
a = a[3:]
return "".join(a)
def _get_subtitles(self, video_id, webpage):