]> git.bitcoin.ninja Git - youtube-dl/commitdiff
[brightcove] Add a test for playlists
authorJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>
Mon, 13 Oct 2014 14:26:53 +0000 (16:26 +0200)
committerJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>
Mon, 13 Oct 2014 14:26:53 +0000 (16:26 +0200)
youtube_dl/extractor/brightcove.py

index 294670386256dc45a071544345e259cbf545e7c7..ad22cbafd6a541599c289cfd7dcb1b27ec7a8e95 100644 (file)
@@ -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