Browse Source

YoutubeSearchIE: return a playlist (related #838)

rtmp_test
Jaime Marquínez Ferrándiz 12 years ago
parent
commit
98d4a4e6bc
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      youtube_dl/InfoExtractors.py

+ 1
- 1
youtube_dl/InfoExtractors.py View File

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


Loading…
Cancel
Save