[bbc] Skip DASH until supported
authorSergey M․ <dstftw@gmail.com>
Sat, 25 Jul 2015 16:32:54 +0000 (22:32 +0600)
committerSergey M․ <dstftw@gmail.com>
Sat, 25 Jul 2015 16:32:54 +0000 (22:32 +0600)
youtube_dl/extractor/bbc.py

index 4b23f82cae2757d2993e10f6f403004b4d907e30..66e52641bb8a672c97184fa046f7ef9a0c0adf99 100644 (file)
@@ -172,6 +172,7 @@ class BBCCoUkIE(InfoExtractor):
         supplier = connection.get('supplier')
         if protocol == 'http':
             href = connection.get('href')
+            transfer_format = connection.get('transferFormat')
             # ASX playlist
             if supplier == 'asx':
                 for i, ref in enumerate(self._extract_asx_playlist(connection, programme_id)):
@@ -179,6 +180,9 @@ class BBCCoUkIE(InfoExtractor):
                         'url': ref,
                         'format_id': 'ref%s_%s' % (i, supplier),
                     })
+            # Skip DASH until supported
+            elif transfer_format == 'dash':
+                pass
             # Direct link
             else:
                 formats.append({