mirror of
				https://gitlab.com/ytdl-org/youtube-dl.git
				synced 2025-11-04 03:37:08 -05:00 
			
		
		
		
	[drtv] Improve _VALID_URL (#4814)
This commit is contained in:
		@@ -6,7 +6,7 @@ from ..utils import parse_iso8601
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
class DRTVIE(SubtitlesInfoExtractor):
 | 
			
		||||
    _VALID_URL = r'https?://(?:www\.)?dr\.dk/tv/se/(?:[^/]+/)+(?P<id>[\da-z-]+)(?:[/#?]|$)'
 | 
			
		||||
    _VALID_URL = r'https?://(?:www\.)?dr\.dk/tv/se/(?:[^/]+/)*(?P<id>[\da-z-]+)(?:[/#?]|$)'
 | 
			
		||||
 | 
			
		||||
    _TEST = {
 | 
			
		||||
        'url': 'http://www.dr.dk/tv/se/partiets-mand/partiets-mand-7-8',
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user