]> git.bitcoin.ninja Git - youtube-dl/commitdiff
[generic] Add test for playwire embed (#5430)
authorSergey M․ <dstftw@gmail.com>
Wed, 15 Apr 2015 16:13:01 +0000 (22:13 +0600)
committerSergey M․ <dstftw@gmail.com>
Wed, 15 Apr 2015 16:14:29 +0000 (22:14 +0600)
youtube_dl/extractor/generic.py

index ab35386945d5a147de7ef05cb80d4b870c77b9f8..7f2faa935f434724aed28ad1199d77f4923a457a 100644 (file)
@@ -622,6 +622,17 @@ class GenericIE(InfoExtractor):
                 'age_limit': 0,
             },
         },
+        # Playwire embed
+        {
+            'url': 'http://www.cinemablend.com/new/First-Joe-Dirt-2-Trailer-Teaser-Stupid-Greatness-70874.html',
+            'info_dict': {
+                'id': '3519514',
+                'ext': 'mp4',
+                'title': 'Joe Dirt 2 Beautiful Loser Teaser Trailer',
+                'thumbnail': 're:^https?://.*\.png$',
+                'duration': 45.115,
+            },
+        },
         # 5min embed
         {
             'url': 'http://techcrunch.com/video/facebook-creates-on-this-day-crunch-report/518726732/',