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 meunierd committed Dec 27, 2019
1 parent 70e0791 commit 72b5d01
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 72b5d01

Please sign in to comment.