[cbs] skip DRM asset types(fixes #16104)

This commit is contained in:
Remita Amine 2018-04-16 07:48:36 +01:00
parent 3c92fd1cd5
commit 522d6b5c96

View File

@ -65,7 +65,7 @@ def _extract_video_info(self, content_id, site='cbs', mpx_acc=2198311517):
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 = {