mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-24 03:41:00 +01:00
[bbc] Skip DASH until supported
This commit is contained in:
parent
51da40e621
commit
7a89681722
|
@ -172,6 +172,7 @@ def _extract_connection(self, connection, programme_id):
|
||||||
supplier = connection.get('supplier')
|
supplier = connection.get('supplier')
|
||||||
if protocol == 'http':
|
if protocol == 'http':
|
||||||
href = connection.get('href')
|
href = connection.get('href')
|
||||||
|
transfer_format = connection.get('transferFormat')
|
||||||
# ASX playlist
|
# ASX playlist
|
||||||
if supplier == 'asx':
|
if supplier == 'asx':
|
||||||
for i, ref in enumerate(self._extract_asx_playlist(connection, programme_id)):
|
for i, ref in enumerate(self._extract_asx_playlist(connection, programme_id)):
|
||||||
|
@ -179,6 +180,9 @@ def _extract_connection(self, connection, programme_id):
|
||||||
'url': ref,
|
'url': ref,
|
||||||
'format_id': 'ref%s_%s' % (i, supplier),
|
'format_id': 'ref%s_%s' % (i, supplier),
|
||||||
})
|
})
|
||||||
|
# Skip DASH until supported
|
||||||
|
elif transfer_format == 'dash':
|
||||||
|
pass
|
||||||
# Direct link
|
# Direct link
|
||||||
else:
|
else:
|
||||||
formats.append({
|
formats.append({
|
||||||
|
|
Loading…
Reference in New Issue
Block a user