Browse Source

[brightcove] Add a test for playlists

Jaime Marquínez Ferrándiz 11 years ago
parent
commit
bd4e40df1a
1 changed files with 9 additions and 0 deletions
  1. 9 0
      youtube_dl/extractor/brightcove.py

+ 9 - 0
youtube_dl/extractor/brightcove.py

@@ -87,6 +87,15 @@ class BrightcoveIE(InfoExtractor):
                 'description': 'UCI MTB World Cup 2014: Fort William, UK - Downhill Finals',
                 '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
     @classmethod