]> Raphaƫl G. Git Repositories - youtubedl/blobdiff - youtube_dl/extractor/toypics.py
Prepare for upload.
[youtubedl] / youtube_dl / extractor / toypics.py
index 2756f56d3a94ae8f2bed64aa39acf4d45616366b..938e05076313cb5b3d3284083d2cc7e699241d21 100644 (file)
@@ -1,4 +1,4 @@
-# -*- coding:utf-8 -*-
+# coding: utf-8
 from __future__ import unicode_literals
 
 from .common import InfoExtractor
 from __future__ import unicode_literals
 
 from .common import InfoExtractor
@@ -41,7 +41,7 @@ class ToypicsIE(InfoExtractor):
 
 class ToypicsUserIE(InfoExtractor):
     IE_DESC = 'Toypics user profile'
 
 class ToypicsUserIE(InfoExtractor):
     IE_DESC = 'Toypics user profile'
-    _VALID_URL = r'http://videos\.toypics\.net/(?P<username>[^/?]+)(?:$|[?#])'
+    _VALID_URL = r'https?://videos\.toypics\.net/(?P<username>[^/?]+)(?:$|[?#])'
     _TEST = {
         'url': 'http://videos.toypics.net/Mikey',
         'info_dict': {
     _TEST = {
         'url': 'http://videos.toypics.net/Mikey',
         'info_dict': {