diff options
author | Sergey M. <dstftw@gmail.com> | 2014-02-21 17:57:19 +0700 |
---|---|---|
committer | Sergey M. <dstftw@gmail.com> | 2014-02-21 17:57:19 +0700 |
commit | da362979887b163d09d67c84c788fa16d921e4bc (patch) | |
tree | efc58c894b93d31a0959ffa1a864b733f4ce4c5f /youtube_dl/extractor | |
parent | dbb94fb044abae465644bb14daa45b0658ef5cf0 (diff) |
[wimp] Modernize and replace test
Diffstat (limited to 'youtube_dl/extractor')
-rw-r--r-- | youtube_dl/extractor/wimp.py | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/youtube_dl/extractor/wimp.py b/youtube_dl/extractor/wimp.py index 9a6bb0c76..79fd53e0c 100644 --- a/youtube_dl/extractor/wimp.py +++ b/youtube_dl/extractor/wimp.py @@ -6,14 +6,15 @@ from .common import InfoExtractor class WimpIE(InfoExtractor): - _VALID_URL = r'(?:http://)?(?:www\.)?wimp\.com/([^/]+)/' + _VALID_URL = r'http://(?:www\.)?wimp\.com/([^/]+)/' _TEST = { - 'url': 'http://www.wimp.com/deerfence/', - 'file': 'deerfence.flv', - 'md5': '8b215e2e0168c6081a1cf84b2846a2b5', + 'url': 'http://www.wimp.com/maruexhausted/', + 'md5': 'f1acced123ecb28d9bb79f2479f2b6a1', 'info_dict': { - "title": "Watch Till End: Herd of deer jump over a fence.", - "description": "These deer look as fluid as running water when they jump over this fence as a herd. This video is one that needs to be watched until the very end for the true majesty to be witnessed, but once it comes, it's sure to take your breath away.", + 'id': 'maruexhausted', + 'ext': 'flv', + 'title': 'Maru is exhausted.', + 'description': 'md5:57e099e857c0a4ea312542b684a869b8', } } @@ -30,4 +31,4 @@ class WimpIE(InfoExtractor): 'title': self._og_search_title(webpage), 'thumbnail': self._og_search_thumbnail(webpage), 'description': self._og_search_description(webpage), - } + }
\ No newline at end of file |