diff options
author | mc2avr <mc2avr@googlemail.com> | 2013-06-25 16:51:09 +0200 |
---|---|---|
committer | mc2avr <mc2avr@googlemail.com> | 2013-06-25 16:51:09 +0200 |
commit | 14fbdc9cddf3d914d9cae562eec44e26695763b4 (patch) | |
tree | b2846e40b22024373b92905c4d53235b54fd671a /youtube_dl | |
parent | 28ef06f7c28fa214841be6339bf3801b4834769a (diff) |
[jukebox] call YoutubeIE if necessary
Diffstat (limited to 'youtube_dl')
-rw-r--r-- | youtube_dl/extractor/jukebox.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/youtube_dl/extractor/jukebox.py b/youtube_dl/extractor/jukebox.py index 95b9fd06d..5eb255bf7 100644 --- a/youtube_dl/extractor/jukebox.py +++ b/youtube_dl/extractor/jukebox.py @@ -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')) |