Sergey M․
5 years ago
No known key found for this signature in database
GPG Key ID: 2C393E0F18A9236D
1 changed files with
2 additions and
2 deletions
-
youtube_dl/extractor/youtube.py
|
|
@ -1198,8 +1198,8 @@ class YoutubeIE(YoutubeBaseInfoExtractor): |
|
|
|
funcname = self._search_regex( |
|
|
|
(r'(["\'])signature\1\s*,\s*(?P<sig>[a-zA-Z0-9$]+)\(', |
|
|
|
r'\.sig\|\|(?P<sig>[a-zA-Z0-9$]+)\(', |
|
|
|
r'yt\.akamaized\.net/\)\s*\|\|\s*.*?\s*c\s*&&\s*d\.set\([^,]+\s*,\s*(?P<sig>[a-zA-Z0-9$]+)\(', |
|
|
|
r'\bc\s*&&\s*d\.set\([^,]+\s*,\s*(?P<sig>[a-zA-Z0-9$]+)\(', |
|
|
|
r'yt\.akamaized\.net/\)\s*\|\|\s*.*?\s*c\s*&&\s*d\.set\([^,]+\s*,\s*(?:encodeURIComponent\s*\()?(?P<sig>[a-zA-Z0-9$]+)\(', |
|
|
|
r'\bc\s*&&\s*d\.set\([^,]+\s*,\s*(?:encodeURIComponent\s*\()?\s*(?P<sig>[a-zA-Z0-9$]+)\(', |
|
|
|
r'\bc\s*&&\s*d\.set\([^,]+\s*,\s*\([^)]*\)\s*\(\s*(?P<sig>[a-zA-Z0-9$]+)\('), |
|
|
|
jscode, 'Initial JS player signature function name', group='sig') |
|
|
|
|
|
|
|