[screencast] Add test
authorSergey M․ <dstftw@gmail.com>
Fri, 1 Apr 2016 17:00:45 +0000 (23:00 +0600)
committerSergey M․ <dstftw@gmail.com>
Fri, 1 Apr 2016 17:00:45 +0000 (23:00 +0600)
youtube_dl/extractor/screencast.py

index d5111c6293d70abbcd45ba90bc6b87986346731e..c694511510d46eaf480a45e4228814afbc88977c 100644 (file)
@@ -34,7 +34,7 @@ class ScreencastIE(InfoExtractor):
             'thumbnail': 're:^https?://.*\.(?:gif|jpg)$',
         }
     }, {
-        'url': 'http://screencast.com/t/aAB3iowa',
+        'url': 'http://www.screencast.com/t/aAB3iowa',
         'md5': 'dedb2734ed00c9755761ccaee88527cd',
         'info_dict': {
             'id': 'aAB3iowa',
@@ -53,8 +53,10 @@ class ScreencastIE(InfoExtractor):
             'description': 'md5:7b9f393bc92af02326a5c5889639eab0',
             'thumbnail': 're:^https?://.*\.(?:gif|jpg)$',
         }
-    },
-    ]
+    }, {
+        'url': 'http://screencast.com/t/aAB3iowa',
+        'only_matching': True,
+    }]
 
     def _real_extract(self, url):
         video_id = self._match_id(url)