mirror of
				https://gitlab.com/ytdl-org/youtube-dl.git
				synced 2025-11-03 19:57:06 -05:00 
			
		
		
		
	[chilloutzone] fixes bug with youtube extraction
the id used for extracting the video from youtube is stored in native_video_id not video_id. This id is only used on chilloutzone.net
This commit is contained in:
		@@ -55,7 +55,7 @@ class ChilloutzoneIE(InfoExtractor):
 | 
				
			|||||||
        # the own CDN
 | 
					        # the own CDN
 | 
				
			||||||
        if source_priority == 'native':
 | 
					        if source_priority == 'native':
 | 
				
			||||||
            if native_platform == 'youtube':
 | 
					            if native_platform == 'youtube':
 | 
				
			||||||
                return self.url_result(video_id, ie='Youtube')
 | 
					                return self.url_result(native_video_id, ie='Youtube')
 | 
				
			||||||
            if native_platform == 'vimeo':
 | 
					            if native_platform == 'vimeo':
 | 
				
			||||||
                return self.url_result(
 | 
					                return self.url_result(
 | 
				
			||||||
                    'http://vimeo.com/' + native_video_id, ie='Vimeo')
 | 
					                    'http://vimeo.com/' + native_video_id, ie='Vimeo')
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user