[extractor/generic] Add test for brigthcove UUID-like videoPlayer
authorSergey M․ <dstftw@gmail.com>
Tue, 7 Mar 2017 16:00:21 +0000 (23:00 +0700)
committerSergey M․ <dstftw@gmail.com>
Tue, 7 Mar 2017 16:00:21 +0000 (23:00 +0700)
youtube_dl/extractor/generic.py

index ebab9509d365944bd772bcdd9b887e1088adb2b0..bc22421aec27265265b8c61b4266db4337bbf4d7 100644 (file)
@@ -449,6 +449,23 @@ class GenericIE(InfoExtractor):
                 },
             }],
         },
+        {
+            # Brightcove with UUID in videoPlayer
+            'url': 'http://www8.hp.com/cn/zh/home.html',
+            'info_dict': {
+                'id': '5255815316001',
+                'ext': 'mp4',
+                'title': 'Sprocket Video - China',
+                'description': 'Sprocket Video - China',
+                'uploader': 'HP-Video Gallery',
+                'timestamp': 1482263210,
+                'upload_date': '20161220',
+                'uploader_id': '1107601872001',
+            },
+            'params': {
+                'skip_download': True,  # m3u8 download
+            },
+        },
         # ooyala video
         {
             'url': 'http://www.rollingstone.com/music/videos/norwegian-dj-cashmere-cat-goes-spartan-on-with-me-premiere-20131219',