]> gitweb @ CieloNegro.org - youtube-dl.git/commitdiff
[chilloutzone] fixes bug with youtube extraction
authorAndreas Schmitz <aschmitz@posteo.de>
Fri, 7 Feb 2014 11:29:58 +0000 (12:29 +0100)
committerAndreas Schmitz <aschmitz@posteo.de>
Fri, 7 Feb 2014 11:29:58 +0000 (12:29 +0100)
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

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')