diff options
author | Sergey M․ <dstftw@gmail.com> | 2014-09-28 03:30:41 +0700 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2014-09-28 03:30:41 +0700 |
commit | a89435a7a8e0574239531bfeedc437ae14b13902 (patch) | |
tree | 94b3d41defd253b3f723770e89fc2b4864d2840e /youtube_dl/extractor | |
parent | a0a90b3ba14ef09735624214f04bfaaa91efe8a2 (diff) |
[ynet] Improve _VALID_URL
Diffstat (limited to 'youtube_dl/extractor')
-rw-r--r-- | youtube_dl/extractor/ynet.py | 2 |
1 files changed, 1 insertions, 1 deletions
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,(?P<id>L(?:-[0-9]+)+),00\.html' + _VALID_URL = r'http://(?:.+?\.)?ynet\.co\.il/(?:.+?/)?0,7340,(?P<id>L(?:-[0-9]+)+),00\.html' _TESTS = [ { 'url': 'http://hot.ynet.co.il/home/0,7340,L-11659-99244,00.html', |