1
0
mirror of https://github.com/l1ving/youtube-dl synced 2024-11-20 22:52:55 +08:00

[ynet] Improve _VALID_URL

This commit is contained in:
Sergey M․ 2014-09-28 03:30:41 +07:00
parent a0a90b3ba1
commit a89435a7a8

View File

@ -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',