Browse Source

[bbc] Skip DASH until supported

totalwebcasting
Sergey M․ 10 years ago
parent
commit
7a89681722
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      youtube_dl/extractor/bbc.py

+ 4
- 0
youtube_dl/extractor/bbc.py View File

@ -172,6 +172,7 @@ class BBCCoUkIE(InfoExtractor):
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 @@ class BBCCoUkIE(InfoExtractor):
'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…
Cancel
Save