]> Raphaƫl G. Git Repositories - youtubedl/blobdiff - youtube_dl/extractor/wimp.py
Imported Upstream version 2013.12.04
[youtubedl] / youtube_dl / extractor / wimp.py
index 84f065a3df97c4d4b1c40c37cac5d4494d6ff8f6..b9c3b13f918f5fbffa73010cbefb46543dac9586 100644 (file)
@@ -6,6 +6,14 @@ from .common import InfoExtractor
 
 class WimpIE(InfoExtractor):
     _VALID_URL = r'(?:http://)?(?:www\.)?wimp\.com/([^/]+)/'
 
 class WimpIE(InfoExtractor):
     _VALID_URL = r'(?:http://)?(?:www\.)?wimp\.com/([^/]+)/'
+    _TEST = {
+        u'url': u'http://www.wimp.com/deerfence/',
+        u'file': u'deerfence.flv',
+        u'md5': u'8b215e2e0168c6081a1cf84b2846a2b5',
+        u'info_dict': {
+            u"title": u"Watch Till End: Herd of deer jump over a fence."
+        }
+    }
 
     def _real_extract(self, url):
         mobj = re.match(self._VALID_URL, url)
 
     def _real_extract(self, url):
         mobj = re.match(self._VALID_URL, url)