about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAndreas Schmitz <aschmitz@posteo.de>2014-02-07 12:29:58 +0100
committerAndreas Schmitz <aschmitz@posteo.de>2014-02-07 12:29:58 +0100
commitc1e672d1217fdb8cb6b38c4de9165921c95e2986 (patch)
treee57b83ddbef6740ecef2d5392183f0ac77c537a1
parentf4371f47849bcc3f53bf96eb10c29b1081bc374a (diff)
downloadyoutube-dl-c1e672d1217fdb8cb6b38c4de9165921c95e2986.tar.gz
youtube-dl-c1e672d1217fdb8cb6b38c4de9165921c95e2986.tar.xz
youtube-dl-c1e672d1217fdb8cb6b38c4de9165921c95e2986.zip
[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
-rw-r--r--youtube_dl/extractor/chilloutzone.py2
1 files changed, 1 insertions, 1 deletions
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 @@ 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')