+ new crypto for YT
This commit is contained in:
parent
32cf3c6401
commit
13db87c0a2
|
@ -1076,9 +1076,10 @@ class YoutubeIE(YoutubeBaseInfoExtractor):
|
||||||
|
|
||||||
def _decrypt_signature_protected(self, s):
|
def _decrypt_signature_protected(self, s):
|
||||||
a = list(s)
|
a = list(s)
|
||||||
a = a[2:]
|
|
||||||
a.reverse()
|
a.reverse()
|
||||||
a = self.mess(a, 29)
|
a = a[3:]
|
||||||
|
a = self.mess(a, 37)
|
||||||
|
a = a[3:]
|
||||||
return "".join(a)
|
return "".join(a)
|
||||||
|
|
||||||
def _get_subtitles(self, video_id, webpage):
|
def _get_subtitles(self, video_id, webpage):
|
||||||
|
|
Loading…
Reference in a new issue