]> gitweb @ CieloNegro.org - youtube-dl.git/commitdiff
[cbs] skip DRM asset types(fixes #16104)
authorRemita Amine <remitamine@gmail.com>
Mon, 16 Apr 2018 06:48:36 +0000 (07:48 +0100)
committerRemita Amine <remitamine@gmail.com>
Mon, 16 Apr 2018 06:48:51 +0000 (07:48 +0100)
youtube_dl/extractor/cbs.py

index f425562abd97fef41493fd7030a0327e4a5ff9e6..1799d63ea86ad9f9b1d7048792b52385928e20f4 100644 (file)
@@ -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 = {