From: Remita Amine Date: Mon, 16 Apr 2018 06:48:36 +0000 (+0100) Subject: [cbs] skip DRM asset types(fixes #16104) X-Git-Url: http://git.bitcoin.ninja/?a=commitdiff_plain;h=522d6b5c961f584055463f8c69de864ec075083b;p=youtube-dl [cbs] skip DRM asset types(fixes #16104) --- 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 = {