1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2025-11-21 00:45:21 +00:00

[downloader/hls] Allow extractors to provide AES key (#6158)

and related cleanup

Authored by: bashonly, Grub4K

Co-authored-by: Simon Sawicki <contact@grub4k.xyz>
This commit is contained in:
bashonly
2023-02-08 11:03:54 +05:30
committed by pukkandan
parent f7efe6dc95
commit 7e68567e50
6 changed files with 45 additions and 21 deletions

View File

@@ -87,7 +87,7 @@ class VzaarIE(InfoExtractor):
m3u8_id='hls', fatal=False)
if hls_aes:
for f in m3u8_formats:
f['_decryption_key_url'] = url_templ % ('goose', '') + qs
f['hls_aes'] = {'uri': url_templ % ('goose', '') + qs}
formats.extend(m3u8_formats)
return {