* fixes crash if signature decryption code isn't packed with artifacts
This commit is contained in:
parent
a0cb1b40a2
commit
31b7bf5bdb
|
@ -1025,6 +1025,7 @@ class YoutubeIE(YoutubeBaseInfoExtractor):
|
|||
return a
|
||||
|
||||
def _full_signature_handling(self, sig, player_url, video_id):
|
||||
if _decrypt_signature_protected:
|
||||
signature = _decrypt_signature_protected(sig)
|
||||
if re.match(self._VALID_SIG_VALUE_RE, signature):
|
||||
return signature
|
||||
|
|
Loading…
Reference in a new issue