aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRemita Amine <remitamine@gmail.com>2018-04-16 07:48:36 +0100
committerRemita Amine <remitamine@gmail.com>2018-04-16 07:48:51 +0100
commit522d6b5c961f584055463f8c69de864ec075083b (patch)
tree735c2539c1eb08a2afa0e7031b98c61c91b35278
parent3c92fd1cd5b5ced11f03ebe64104457c21cd69ec (diff)
[cbs] skip DRM asset types(fixes #16104)
-rw-r--r--youtube_dl/extractor/cbs.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/cbs.py b/youtube_dl/extractor/cbs.py
index f425562ab..1799d63ea 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 = {