From: Sergey M․ Date: Sat, 27 Sep 2014 20:30:41 +0000 (+0700) Subject: [ynet] Improve _VALID_URL X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=a89435a7a8e0574239531bfeedc437ae14b13902;p=youtube-dl [ynet] Improve _VALID_URL --- diff --git a/youtube_dl/extractor/ynet.py b/youtube_dl/extractor/ynet.py index 66d53962a..24872861a 100644 --- a/youtube_dl/extractor/ynet.py +++ b/youtube_dl/extractor/ynet.py @@ -9,7 +9,7 @@ from ..utils import compat_urllib_parse class YnetIE(InfoExtractor): - _VALID_URL = r'http://.*ynet\.co\.il/.*/0,7340,(?PL(?:-[0-9]+)+),00\.html' + _VALID_URL = r'http://(?:.+?\.)?ynet\.co\.il/(?:.+?/)?0,7340,(?PL(?:-[0-9]+)+),00\.html' _TESTS = [ { 'url': 'http://hot.ynet.co.il/home/0,7340,L-11659-99244,00.html',