diff options
author | Oleg Prutz <olegp04728@gmail.com> | 2014-01-30 23:01:35 +0300 |
---|---|---|
committer | Oleg Prutz <olegp04728@gmail.com> | 2014-01-30 23:01:35 +0300 |
commit | 3bf8bc7f3753aef5fbd46b840b334e82ae409e4e (patch) | |
tree | 8052538f4829a4b1c80c2e5dce1a47c13592d44d /youtube_dl | |
parent | c81a855b0facdb143f656a360719f63d4a1061aa (diff) |
Update normalboots.py
_TEST added
Diffstat (limited to 'youtube_dl')
-rw-r--r-- | youtube_dl/extractor/normalboots.py | 11 |
1 files changed, 11 insertions, 0 deletions
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<videoid>[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) |