]> gitweb @ CieloNegro.org - youtube-dl.git/commitdiff
Update normalboots.py
authorOleg Prutz <olegp04728@gmail.com>
Thu, 30 Jan 2014 20:01:35 +0000 (23:01 +0300)
committerOleg Prutz <olegp04728@gmail.com>
Thu, 30 Jan 2014 20:01:35 +0000 (23:01 +0300)
_TEST added

youtube_dl/extractor/normalboots.py

index 75a5fa0a6997e8b9b7f6d1ed9af5e8f18e3144a4..8da289d7895134161271443be8e355eab043348b 100644 (file)
@@ -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)