Skip to content

Commit

Permalink
[cbs] improve DRM protected videos detection(closes #21339)
Browse files Browse the repository at this point in the history
  • Loading branch information
remitamine authored and cantre committed Jun 9, 2019
1 parent 585b6bd commit 724ee94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion youtube_dl/extractor/cbs.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,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 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 = {
Expand Down

0 comments on commit 724ee94

Please sign in to comment.