Selaa lähdekoodia

[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.
Jaime Marquínez Ferrándiz 11 vuotta sitten
vanhempi
sitoutus
f401a4173b
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      youtube_dl/extractor/youjizz.py

+ 1 - 1
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',