0
0
Fork 0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-11-04 23:35:04 +00:00

Merge pull request #2340 from Fnordlab/master

[chilloutzone] Fixes refactoring bug
This commit is contained in:
Philipp Hagemeister 2014-02-07 12:46:56 +01:00
commit b19fe521a9

View file

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