Fixed issue #13490
#13490 - Removed OnceUrl to fix issue downloading certain CBS titles.
This commit is contained in:
parent
2e25f80d5d
commit
ac1ed971f6
@ -70,15 +70,18 @@ class CBSIE(CBSBaseIE):
|
|||||||
'mbr': 'true',
|
'mbr': 'true',
|
||||||
'assetTypes': asset_type,
|
'assetTypes': asset_type,
|
||||||
}
|
}
|
||||||
if asset_type.startswith('HLS') or asset_type in ('OnceURL', 'StreamPack'):
|
if asset_type.startswith('HLS') or asset_type in ('StreamPack'):
|
||||||
query['formats'] = 'MPEG4,M3U'
|
query['formats'] = 'MPEG4,M3U'
|
||||||
elif asset_type in ('RTMP', 'WIFI', '3G'):
|
elif asset_type in ('RTMP', 'WIFI', '3G'):
|
||||||
query['formats'] = 'MPEG4,FLV'
|
query['formats'] = 'MPEG4,FLV'
|
||||||
|
else:
|
||||||
|
continue
|
||||||
tp_formats, tp_subtitles = self._extract_theplatform_smil(
|
tp_formats, tp_subtitles = self._extract_theplatform_smil(
|
||||||
update_url_query(tp_release_url, query), content_id,
|
update_url_query(tp_release_url, query), content_id,
|
||||||
'Downloading %s SMIL data' % asset_type)
|
'Downloading %s SMIL data' % asset_type)
|
||||||
formats.extend(tp_formats)
|
formats.extend(tp_formats)
|
||||||
subtitles = self._merge_subtitles(subtitles, tp_subtitles)
|
subtitles = self._merge_subtitles(subtitles, tp_subtitles)
|
||||||
|
|
||||||
self._sort_formats(formats)
|
self._sort_formats(formats)
|
||||||
|
|
||||||
info = self._extract_theplatform_metadata(tp_path, content_id)
|
info = self._extract_theplatform_metadata(tp_path, content_id)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user