mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-08-21 14:51:12 +02:00
[cbs] skip DRM asset types(fixes #16104)
This commit is contained in:
parent
3c92fd1cd5
commit
522d6b5c96
@ -65,7 +65,7 @@ def _extract_video_info(self, content_id, site='cbs', mpx_acc=2198311517):
|
|||||||
last_e = None
|
last_e = None
|
||||||
for item in items_data.findall('.//item'):
|
for item in items_data.findall('.//item'):
|
||||||
asset_type = xpath_text(item, 'assetType')
|
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
|
continue
|
||||||
asset_types.append(asset_type)
|
asset_types.append(asset_type)
|
||||||
query = {
|
query = {
|
||||||
|
Loading…
Reference in New Issue
Block a user