Skip to content

A feature-rich command-line audio/video downloader

[cbs] skip DRM asset types(fixes #16104)

Remita Amine522d6b5c961f
diff --git a/youtube_dl/extractor/cbs.py b/youtube_dl/extractor/cbs.py
index f425562abd..1799d63ea8 100644
--- a/youtube_dl/extractor/cbs.py
+++ b/youtube_dl/extractor/cbs.py
@@ -65,7 +65,7 @@ class CBSIE(CBSBaseIE):
last_e = None
for item in items_data.findall('.//item'):
asset_type = xpath_text(item, 'assetType')
- if not asset_type or asset_type in asset_types:
+ if not asset_type or asset_type in asset_types or asset_type in ('HLS_FPS', 'DASH_CENC'):
continue
asset_types.append(asset_type)
query = {