mirror of
				https://gitlab.com/ytdl-org/youtube-dl.git
				synced 2025-11-04 01:57:08 -05:00 
			
		
		
		
	[ynet] Improve _VALID_URL
This commit is contained in:
		@@ -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',
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user