1
0
Fork 0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2024-12-26 10:47:42 +00:00

[jukebox] call YoutubeIE if necessary

This commit is contained in:
mc2avr 2013-06-25 16:51:09 +02:00
parent 28ef06f7c2
commit 14fbdc9cdd

View file

@ -41,8 +41,8 @@ class JukeboxIE(InfoExtractor):
if mobj is None:
raise ExtractorError(u'Cannot extract video url')
youtube_url = unescapeHTML(mobj.group('youtube_url')).replace('\/','/')
#TODO: call YoutubeIE !?
raise ExtractorError(u'found YT video. Please run youtube-dl again and use the following link: '+youtube_url+' ')
self.to_screen(u'Youtube video detected')
return self.url_result(youtube_url,ie='Youtube')
video_url = unescapeHTML(mobj.group('video_url')).replace('\/','/')
video_ext = unescapeHTML(mobj.group('video_ext'))