mirror of
				https://github.com/yt-dlp/yt-dlp.git
				synced 2025-11-04 00:25:15 +00:00 
			
		
		
		
	[nick] Automate geo-restriction bypass (#13711)
This commit is contained in:
		@@ -12,6 +12,7 @@ class NickIE(MTVServicesInfoExtractor):
 | 
				
			|||||||
    IE_NAME = 'nick.com'
 | 
					    IE_NAME = 'nick.com'
 | 
				
			||||||
    _VALID_URL = r'https?://(?:(?:www|beta)\.)?nick(?:jr)?\.com/(?:[^/]+/)?(?:videos/clip|[^/]+/videos)/(?P<id>[^/?#.]+)'
 | 
					    _VALID_URL = r'https?://(?:(?:www|beta)\.)?nick(?:jr)?\.com/(?:[^/]+/)?(?:videos/clip|[^/]+/videos)/(?P<id>[^/?#.]+)'
 | 
				
			||||||
    _FEED_URL = 'http://udat.mtvnservices.com/service1/dispatch.htm'
 | 
					    _FEED_URL = 'http://udat.mtvnservices.com/service1/dispatch.htm'
 | 
				
			||||||
 | 
					    _GEO_COUNTRIES = ['US']
 | 
				
			||||||
    _TESTS = [{
 | 
					    _TESTS = [{
 | 
				
			||||||
        'url': 'http://www.nick.com/videos/clip/alvinnn-and-the-chipmunks-112-full-episode.html',
 | 
					        'url': 'http://www.nick.com/videos/clip/alvinnn-and-the-chipmunks-112-full-episode.html',
 | 
				
			||||||
        'playlist': [
 | 
					        'playlist': [
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user