A feature-rich command-line audio/video downloader
[cbs] improve DRM protected videos detection(closes #21339)
Remita Amine35c2dd48d9c6
diff --git a/youtube_dl/extractor/cbs.py b/youtube_dl/extractor/cbs.pyindex 376db72632..4a19a73d2f 100644--- a/youtube_dl/extractor/cbs.py+++ b/youtube_dl/extractor/cbs.py@@ -69,7 +69,7 @@ class CBSIE(CBSBaseIE):last_e = Nonefor item in items_data.findall('.//item'):asset_type = xpath_text(item, 'assetType')- if not asset_type or asset_type in asset_types or asset_type in ('HLS_FPS', 'DASH_CENC'):+ if not asset_type or asset_type in asset_types or 'HLS_FPS' in asset_type or 'DASH_CENC' in asset_type:continueasset_types.append(asset_type)query = {