]> jfr.im git - yt-dlp.git/commit
[core] Allow extractors to mark formats as potentially DRM (#7396)
authorpukkandan <redacted>
Thu, 6 Jul 2023 13:09:50 +0000 (18:39 +0530)
committerpukkandan <redacted>
Thu, 6 Jul 2023 16:10:01 +0000 (21:40 +0530)
commitbc344cd456380999c1ee74554dfd432a38f32ec7
treeb37ad89414106c7fbbd568eaf7d8303b1b3d4fa5
parent906c0bdcd8974340d619e99ccd613c163eb0d0c2
[core] Allow extractors to mark formats as potentially DRM (#7396)

This is useful for HLS where detecting whether the format is
actually DRM requires the child manifest to be downloaded.

Makes the error message when using `--test` inconsistent,
but doesn't really matter.
yt_dlp/YoutubeDL.py
yt_dlp/downloader/hls.py
yt_dlp/extractor/common.py