[ie/WrestleUniversePPV] Fix HLS AES key extraction

Fix bug in ef8fb7f029

Closes #7708
Authored by: bashonly
This commit is contained in:
bashonly 2023-07-27 09:53:22 -05:00
parent 95abea9a03
commit dae349da97
No known key found for this signature in database
GPG Key ID: 783F096F253D15B0

View File

@ -300,7 +300,7 @@ def _real_extract(self, url):
info['hls_aes'] = { info['hls_aes'] = {
'key': hls_aes_key, 'key': hls_aes_key,
'iv': traverse_obj(video_data, ('hls', 'iv', {decrypt})), 'iv': traverse_obj(video_data, ('hls', 'iv', {decrypt})),
}, }
elif traverse_obj(video_data, ('hls', 'encryptType', {int})): elif traverse_obj(video_data, ('hls', 'encryptType', {int})):
self.report_warning('HLS AES-128 key was not found in API response') self.report_warning('HLS AES-128 key was not found in API response')