* version 2021.03.21
This commit is contained in:
parent
8e9915aa09
commit
c35da27819
|
@ -1073,11 +1073,14 @@ class YoutubeIE(YoutubeBaseInfoExtractor):
|
||||||
|
|
||||||
def _decrypt_signature_protected(self, s):
|
def _decrypt_signature_protected(self, s):
|
||||||
a = list(s)
|
a = list(s)
|
||||||
a = self.mess(a, 20)
|
|
||||||
a = a[2:]
|
|
||||||
a = self.mess(a, 13)
|
|
||||||
a.reverse()
|
|
||||||
a = a[3:]
|
a = a[3:]
|
||||||
|
a = self.mess(a, 54)
|
||||||
|
a = self.mess(a, 21)
|
||||||
|
a = self.mess(a, 23)
|
||||||
|
a = self.mess(a, 57)
|
||||||
|
a = self.mess(a, 2)
|
||||||
|
a.reverse()
|
||||||
|
a = self.mess(a, 22)
|
||||||
return "".join(a)
|
return "".join(a)
|
||||||
|
|
||||||
def _full_signature_handling(self, sig, player_url, video_id):
|
def _full_signature_handling(self, sig, player_url, video_id):
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
from __future__ import unicode_literals
|
from __future__ import unicode_literals
|
||||||
|
|
||||||
__version__ = '2021.03.01'
|
__version__ = '2021.03.21'
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
print(__version__)
|
print(__version__)
|
||||||
|
|
Loading…
Reference in a new issue