From: Oleg Prutz Date: Thu, 30 Jan 2014 20:01:35 +0000 (+0300) Subject: Update normalboots.py X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=3bf8bc7f3753aef5fbd46b840b334e82ae409e4e;p=youtube-dl Update normalboots.py _TEST added --- diff --git a/youtube_dl/extractor/normalboots.py b/youtube_dl/extractor/normalboots.py index 75a5fa0a6..8da289d78 100644 --- a/youtube_dl/extractor/normalboots.py +++ b/youtube_dl/extractor/normalboots.py @@ -9,6 +9,17 @@ from ..utils import ( class NormalbootsIE(InfoExtractor): _VALID_URL = r'(?:http://)?(?:www\.)?normalboots\.com/video/(?P[0-9a-z-]*)/?$' + _TEST = { + u'url': u'http://normalboots.com/video/home-alone-games-jontron/', + u'file': u'JonTronShow-52e2fafa8718e_high.mp4', + u'md5': u'8b215e2e0168c6081a1cf84b2846a2b5', + u'info_dict': { + u'title': u'Home Alone Games - JonTron - NormalBoots', + u'description': u'Jon is late for Christmas. Typical. Thanks to: Paul Ritchey for Co-Writing/Filming: http://www.youtube.com/user/ContinueShow Micha Frar for Christmas Intro Animation: http://michafrar.tumblr.com/ Jerrod Waters for Christmas Intro Music: http://www.youtube.com/user/xXJerryTerryXx Casey Ormond for \u2018Tense Battle Theme\u2019:\xa0http://www.youtube.com/Kiamet/', + u'uploader': u'JonTron', + u'upload_date': u'20140125', + } + } def _real_extract(self, url): mobj = re.match(self._VALID_URL, url)