about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>2014-10-13 16:26:53 +0200
committerJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>2014-10-13 16:26:53 +0200
commitbd4e40df1aaef96dcde64dd64793b5152ae66055 (patch)
treee8a0352e39dba5d5a3733a687406d6dba303579d
parent1419fafd36a6ab70d769411e779db63f2b4cb1ae (diff)
downloadyoutube-dl-bd4e40df1aaef96dcde64dd64793b5152ae66055.tar.gz
youtube-dl-bd4e40df1aaef96dcde64dd64793b5152ae66055.tar.xz
youtube-dl-bd4e40df1aaef96dcde64dd64793b5152ae66055.zip
[brightcove] Add a test for playlists
-rw-r--r--youtube_dl/extractor/brightcove.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/youtube_dl/extractor/brightcove.py b/youtube_dl/extractor/brightcove.py
index 294670386..ad22cbafd 100644
--- a/youtube_dl/extractor/brightcove.py
+++ b/youtube_dl/extractor/brightcove.py
@@ -87,6 +87,15 @@ class BrightcoveIE(InfoExtractor):
                 'description': 'UCI MTB World Cup 2014: Fort William, UK - Downhill Finals',
             },
         },
+        {
+            # playlist test
+            # from http://support.brightcove.com/en/video-cloud/docs/playlist-support-single-video-players
+            'url': 'http://c.brightcove.com/services/viewer/htmlFederated?playerID=3550052898001&playerKey=AQ%7E%7E%2CAAABmA9XpXk%7E%2C-Kp7jNgisre1fG5OdqpAFUTcs0lP_ZoL',
+            'info_dict': {
+                'title': 'Sealife',
+            },
+            'playlist_mincount': 7,
+        },
     ]
 
     @classmethod