1
0
mirror of https://github.com/l1ving/youtube-dl synced 2024-12-30 22:03:00 +08:00

[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.
This commit is contained in:
Jaime Marquínez Ferrándiz 2014-09-11 21:44:02 +02:00
parent de00ff6494
commit f401a4173b

View File

@ -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',