parent
84c08079bd
commit
eb0891a824
|
@ -1,3 +1,8 @@
|
|||
version 2021.02.23
|
||||
Extractor
|
||||
* [youtube] new crypto
|
||||
* [youtube] fixed automatic crypto extraction
|
||||
|
||||
version 2021.02.22
|
||||
Extractor
|
||||
* [peertube] reduced request amount
|
||||
|
|
|
@ -1077,10 +1077,14 @@ class YoutubeIE(YoutubeBaseInfoExtractor):
|
|||
|
||||
def _decrypt_signature_protected(self, s):
|
||||
a = list(s)
|
||||
a = self.mess(a, 17)
|
||||
a.reverse()
|
||||
a = a[3:]
|
||||
a = self.mess(a, 37)
|
||||
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):
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
from __future__ import unicode_literals
|
||||
|
||||
__version__ = '2021.02.22'
|
||||
__version__ = '2021.02.23'
|
||||
|
||||
if __name__ == '__main__':
|
||||
print(__version__)
|
||||
|
|
Loading…
Reference in New Issue