[bbc] Add test for #8147
authorSergey M․ <dstftw@gmail.com>
Thu, 28 Jan 2016 17:27:48 +0000 (23:27 +0600)
committerSergey M․ <dstftw@gmail.com>
Thu, 28 Jan 2016 17:27:48 +0000 (23:27 +0600)
youtube_dl/extractor/bbc.py

index 5be0ff476e015083542574cb61d46cb8ed95bad0..6ddee686ce3e4dafb0e02ab3cb697a95f6089ac3 100644 (file)
@@ -193,6 +193,19 @@ class BBCCoUkIE(InfoExtractor):
                 # rtmp download
                 'skip_download': True,
             },
+        }, {
+            # compact player (https://github.com/rg3/youtube-dl/issues/8147)
+            'url': 'http://www.bbc.co.uk/programmes/p028bfkf/player',
+            'info_dict': {
+                'id': 'p028bfkj',
+                'ext': 'flv',
+                'title': 'Extract from BBC documentary Look Stranger - Giant Leeks and Magic Brews',
+                'description': 'Extract from BBC documentary Look Stranger - Giant Leeks and Magic Brews',
+            },
+            'params': {
+                # rtmp download
+                'skip_download': True,
+            },
         }, {
             'url': 'http://www.bbc.co.uk/iplayer/playlist/p01dvks4',
             'only_matching': True,