mirror of
				https://gitlab.com/ytdl-org/youtube-dl.git
				synced 2025-11-04 07:47:08 -05:00 
			
		
		
		
	[nrk:playlist] Restrict _VALID_URL
It would also match /videos/PS... urls
This commit is contained in:
		@@ -77,7 +77,7 @@ class NRKIE(InfoExtractor):
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
class NRKPlaylistIE(InfoExtractor):
 | 
			
		||||
    _VALID_URL = r'http://(?:www\.)?nrk\.no/(?:[^/]+/)*(?P<id>[^/]+)'
 | 
			
		||||
    _VALID_URL = r'http://(?:www\.)?nrk\.no/(?!video)[^/]+/(?P<id>[^/]+)'
 | 
			
		||||
 | 
			
		||||
    _TEST = {
 | 
			
		||||
        'url': 'http://www.nrk.no/troms/gjenopplev-den-historiske-solformorkelsen-1.12270763',
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user