diff options
author | Philipp Hagemeister <phihag@phihag.de> | 2013-06-27 20:46:46 +0200 |
---|---|---|
committer | Philipp Hagemeister <phihag@phihag.de> | 2013-06-27 20:46:46 +0200 |
commit | 6f5ac90cf314e8e1a7c5c416fb51e3a7b8483e9c (patch) | |
tree | 5858b022ee180d96bbb57ca5c2fb827222c83f8d /youtube_dl/extractor/hypem.py | |
parent | ddbd9035764678fbd698a8e5358a8cfbdfe0dfe9 (diff) |
Move tests to the IE definitions
Diffstat (limited to 'youtube_dl/extractor/hypem.py')
-rw-r--r-- | youtube_dl/extractor/hypem.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/youtube_dl/extractor/hypem.py b/youtube_dl/extractor/hypem.py index ceec4f616..ab2b59103 100644 --- a/youtube_dl/extractor/hypem.py +++ b/youtube_dl/extractor/hypem.py @@ -15,6 +15,14 @@ from ..utils import ( class HypemIE(InfoExtractor): """Information Extractor for hypem""" _VALID_URL = r'(?:http://)?(?:www\.)?hypem\.com/track/([^/]+)/([^/]+)' + _TEST = { + u'url': u'http://hypem.com/track/1v6ga/BODYWORK+-+TAME', + u'file': u'1v6ga.mp3', + u'md5': u'b9cc91b5af8995e9f0c1cee04c575828', + u'info_dict': { + u"title": u"Tame" + } + } def _real_extract(self, url): mobj = re.match(self._VALID_URL, url) |