summary refs log tree commit diff
diff options
context:
space:
mode:
authorJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>2014-09-11 21:44:02 +0200
committerJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>2014-09-11 21:44:02 +0200
commitf401a4173b05ec36f00e240fecc728059fd669b2 (patch)
treeba215b675d6b058e3903471a87c9d5b403cfa6f4
parentde00ff6494c1852c7c5bf7a2d13208203b5eb27c (diff)
downloadyoutube-dl-f401a4173b05ec36f00e240fecc728059fd669b2.tar.gz
youtube-dl-f401a4173b05ec36f00e240fecc728059fd669b2.tar.xz
youtube-dl-f401a4173b05ec36f00e240fecc728059fd669b2.zip
[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.
-rw-r--r--youtube_dl/extractor/youjizz.py2
1 files changed, 1 insertions, 1 deletions
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<videoid>[^.]+)\.html$'
+    _VALID_URL = r'^https?://(?:\w+\.)?youjizz\.com/videos/(?P<videoid>[^.]+)\.html$'
     _TEST = {
         'url': 'http://www.youjizz.com/videos/zeichentrick-1-2189178.html',
         'file': '2189178.flv',