From: Jaime Marquínez Ferrándiz Date: Sun, 12 May 2013 18:53:37 +0000 (+0200) Subject: YoutubeSearchIE: return a playlist (related #838) X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=98d4a4e6bc15e533c941f0e024b48faf4cae4a40;p=youtube-dl YoutubeSearchIE: return a playlist (related #838) --- diff --git a/youtube_dl/InfoExtractors.py b/youtube_dl/InfoExtractors.py index e4b6c01ab..6a42ed090 100755 --- a/youtube_dl/InfoExtractors.py +++ b/youtube_dl/InfoExtractors.py @@ -1401,7 +1401,7 @@ class YoutubeSearchIE(InfoExtractor): if len(video_ids) > n: video_ids = video_ids[:n] videos = [self.url_result('http://www.youtube.com/watch?v=%s' % id, 'Youtube') for id in video_ids] - return videos + return self.playlist_result(videos, query) class GoogleSearchIE(InfoExtractor):