mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-23 19:33:59 +01:00
[cbs] improve DRM protected videos detection(closes #21339)
This commit is contained in:
parent
3b2fd09596
commit
35c2dd48d9
|
@ -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 = {
|
||||
|
|
Loading…
Reference in New Issue
Block a user