Quellcode durchsuchen

[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
Andreas Schmitz vor 11 Jahren
Ursprung
Commit
c1e672d121
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      youtube_dl/extractor/chilloutzone.py

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