X-Git-Url: http://git.cielonegro.org/gitweb.cgi?a=blobdiff_plain;f=youtube_dl%2Fextractor%2Fhotnewhiphop.py;h=ca3abb7d7fdaaf5c84869e1b4eda125d5076573a;hb=81f0259b9e4321b612c90709a043ff90d2b0a774;hp=82752f9128ccd2cf56cb663740904d232bccf954;hpb=3a8736bd745ecd7ce5cb605cf56710f76a26d1ab;p=youtube-dl.git diff --git a/youtube_dl/extractor/hotnewhiphop.py b/youtube_dl/extractor/hotnewhiphop.py index 82752f912..ca3abb7d7 100644 --- a/youtube_dl/extractor/hotnewhiphop.py +++ b/youtube_dl/extractor/hotnewhiphop.py @@ -6,6 +6,14 @@ from .common import InfoExtractor class HotNewHipHopIE(InfoExtractor): _VALID_URL = r'http://www\.hotnewhiphop.com/.*\.(?P.*)\.html' + _TEST = { + u'url': u"http://www.hotnewhiphop.com/freddie-gibbs-lay-it-down-song.1435540.html'", + u'file': u'1435540.mp3', + u'md5': u'2c2cd2f76ef11a9b3b581e8b232f3d96', + u'info_dict': { + u"title": u"Freddie Gibbs Songs - Lay It Down" + } + } def _real_extract(self, url): m = re.match(self._VALID_URL, url)