Browse Source

[cbs] improve DRM protected videos detection(closes #21339)

master
Remita Amine 6 years ago
parent
commit
35c2dd48d9
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      youtube_dl/extractor/cbs.py

+ 1
- 1
youtube_dl/extractor/cbs.py View File

@ -69,7 +69,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 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 = {


Loading…
Cancel
Save