* fixes crash if signature decryption code isn't packed with artifacts
parent
23a00ac4b8
commit
0872e0c334
|
@ -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 New Issue