]> Raphaƫl G. Git Repositories - youtubedl/blobdiff - youtube_dl/extractor/toypics.py
Initiate new release.
[youtubedl] / youtube_dl / extractor / toypics.py
index 0f389bd93a1f35eb35346f7ee99b0b91a9c9b876..2756f56d3a94ae8f2bed64aa39acf4d45616366b 100644 (file)
@@ -42,6 +42,13 @@ class ToypicsIE(InfoExtractor):
 class ToypicsUserIE(InfoExtractor):
     IE_DESC = 'Toypics user profile'
     _VALID_URL = r'http://videos\.toypics\.net/(?P<username>[^/?]+)(?:$|[?#])'
+    _TEST = {
+        'url': 'http://videos.toypics.net/Mikey',
+        'info_dict': {
+            'id': 'Mikey',
+        },
+        'playlist_mincount': 19,
+    }
 
     def _real_extract(self, url):
         mobj = re.match(self._VALID_URL, url)