aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2014-09-28 03:30:41 +0700
committerSergey M․ <dstftw@gmail.com>2014-09-28 03:30:41 +0700
commita89435a7a8e0574239531bfeedc437ae14b13902 (patch)
tree94b3d41defd253b3f723770e89fc2b4864d2840e /youtube_dl
parenta0a90b3ba14ef09735624214f04bfaaa91efe8a2 (diff)
[ynet] Improve _VALID_URL
Diffstat (limited to 'youtube_dl')
-rw-r--r--youtube_dl/extractor/ynet.py2
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',