1
0
Fork 0
mirror of https://github.com/blackjack4494/yt-dlc.git synced 2024-12-22 07:43:08 +00: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',