aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/ynet.py
diff options
context:
space:
mode:
Diffstat (limited to 'youtube_dl/extractor/ynet.py')
-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',