From c1e672d1217fdb8cb6b38c4de9165921c95e2986 Mon Sep 17 00:00:00 2001 From: Andreas Schmitz Date: Fri, 7 Feb 2014 12:29:58 +0100 Subject: [PATCH] [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 --- youtube_dl/extractor/chilloutzone.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/youtube_dl/extractor/chilloutzone.py b/youtube_dl/extractor/chilloutzone.py index e9903c613..b73758115 100644 --- a/youtube_dl/extractor/chilloutzone.py +++ b/youtube_dl/extractor/chilloutzone.py @@ -55,7 +55,7 @@ def _real_extract(self, url): # the own CDN if source_priority == 'native': 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': return self.url_result( 'http://vimeo.com/' + native_video_id, ie='Vimeo')