From: Jaime Marquínez Ferrándiz Date: Thu, 11 Sep 2014 19:44:02 +0000 (+0200) Subject: [youjizz] Don't make the url protocol optional (fixes #3722) X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;ds=sidebyside;h=f401a4173b05ec36f00e240fecc728059fd669b2;p=youtube-dl [youjizz] Don't make the url protocol optional (fixes #3722) It would fail to download the webpag if it's missing. And the generic extractor will add it. --- diff --git a/youtube_dl/extractor/youjizz.py b/youtube_dl/extractor/youjizz.py index fcb5ff758..b86331e3c 100644 --- a/youtube_dl/extractor/youjizz.py +++ b/youtube_dl/extractor/youjizz.py @@ -9,7 +9,7 @@ from ..utils import ( class YouJizzIE(InfoExtractor): - _VALID_URL = r'^(?:https?://)?(?:\w+\.)?youjizz\.com/videos/(?P[^.]+)\.html$' + _VALID_URL = r'^https?://(?:\w+\.)?youjizz\.com/videos/(?P[^.]+)\.html$' _TEST = { 'url': 'http://www.youjizz.com/videos/zeichentrick-1-2189178.html', 'file': '2189178.flv',