[chilloutzone] fixes bug with youtube extraction
[youtube-dl] / youtube_dl / extractor / chilloutzone.py
index e9903c6139c21d31f0fd011169702927c9693400..b7375811506ad7a4939c5b452938aefcafd8813b 100644 (file)
@@ -55,7 +55,7 @@ class ChilloutzoneIE(InfoExtractor):
         # 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')