new youtube crypto
parent
79278413a9
commit
39fbd9c21b
|
@ -1085,14 +1085,11 @@ class YoutubeIE(YoutubeBaseInfoExtractor):
|
|||
|
||||
def _decrypt_signature_protected(self, s):
|
||||
a = list(s)
|
||||
a = self.mess(a, 17)
|
||||
a = self.mess(a, 20)
|
||||
a = a[2:]
|
||||
a = self.mess(a, 13)
|
||||
a.reverse()
|
||||
a = a[3:]
|
||||
a = self.mess(a, 12)
|
||||
a = a[1:]
|
||||
a.reverse()
|
||||
a = self.mess(a, 47)
|
||||
a.reverse()
|
||||
return "".join(a)
|
||||
|
||||
def _get_subtitles(self, video_id, webpage):
|
||||
|
|
Loading…
Reference in New Issue