Browse Source

Update normalboots.py

_TEST added
master
Oleg Prutz 10 years ago
parent
commit
3bf8bc7f37
1 changed files with 11 additions and 0 deletions
  1. 11
      youtube_dl/extractor/normalboots.py

11
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)

Loading…
Cancel
Save