rename iter_search_results to either search_videos and search_gallery (closes #779)

This commit is contained in:
Romain Bignon 2012-03-12 16:18:14 +01:00
commit 56691d7ea7
39 changed files with 52 additions and 52 deletions

View file

@ -101,7 +101,7 @@ class VideoobWeb(BaseApplication):
url=video.url if video.url else '/download?id=%s' % video.id,
thumbnail_url=video.thumbnail.url,
) \
for video in backend.iter_search_results(pattern=q, nsfw=nsfw)]
for video in backend.search_videos(pattern=q, nsfw=nsfw)]
if videos:
if merge:
c['results'].extend(videos)