diff options
author | Jaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com> | 2013-05-12 20:53:37 +0200 |
---|---|---|
committer | Jaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com> | 2013-05-12 20:53:37 +0200 |
commit | 98d4a4e6bc15e533c941f0e024b48faf4cae4a40 (patch) | |
tree | a95b0e7cde4ba2d22b13211f10c752ce1b3435c5 /youtube_dl | |
parent | fb2f83360cc48b2b2fbc27c268437688094032b6 (diff) | |
download | youtube-dl-98d4a4e6bc15e533c941f0e024b48faf4cae4a40.tar.xz |
YoutubeSearchIE: return a playlist (related #838)
Diffstat (limited to 'youtube_dl')
-rwxr-xr-x | youtube_dl/InfoExtractors.py | 2 |
1 files changed, 1 insertions, 1 deletions
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): |