diff options
author | Remita Amine <remitamine@gmail.com> | 2019-06-09 00:12:51 +0100 |
---|---|---|
committer | Remita Amine <remitamine@gmail.com> | 2019-06-09 00:13:07 +0100 |
commit | 35c2dd48d9c61015627b00c2081b953fdea03f43 (patch) | |
tree | 05419f6d794514857e12578ad749bb454b70799d /youtube_dl | |
parent | 3b2fd09596f4a1efd79c9e6193c3032adbd89da7 (diff) |
[cbs] improve DRM protected videos detection(closes #21339)
Diffstat (limited to 'youtube_dl')
-rw-r--r-- | youtube_dl/extractor/cbs.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/cbs.py b/youtube_dl/extractor/cbs.py index 376db7263..4a19a73d2 100644 --- a/youtube_dl/extractor/cbs.py +++ b/youtube_dl/extractor/cbs.py @@ -69,7 +69,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 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: continue asset_types.append(asset_type) query = { |