mirror of
				https://github.com/yt-dlp/yt-dlp.git
				synced 2025-10-31 06:35:12 +00:00 
			
		
		
		
	[novamov] Improve _VALID_URL
This commit is contained in:
		| @@ -13,7 +13,8 @@ class NovaMovIE(InfoExtractor): | ||||
|     IE_NAME = 'novamov' | ||||
|     IE_DESC = 'NovaMov' | ||||
|  | ||||
|     _VALID_URL = r'http://(?:(?:www\.)?%(host)s/video/|(?:(?:embed|www)\.)%(host)s/embed\.php\?(?:.*?&)?v=)(?P<videoid>[a-z\d]{13})' % {'host': 'novamov\.com'} | ||||
|     _VALID_URL_TEMPLATE = r'http://(?:(?:www\.)?%(host)s/(?:file|video)/|(?:(?:embed|www)\.)%(host)s/embed\.php\?(?:.*?&)?v=)(?P<videoid>[a-z\d]{13})' | ||||
|     _VALID_URL = _VALID_URL_TEMPLATE % {'host': 'novamov\.com'} | ||||
|  | ||||
|     _HOST = 'www.novamov.com' | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Sergey M․
					Sergey M․