rename iter_search_results to either search_videos and search_gallery (closes #779)
This commit is contained in:
parent
46f94a1d78
commit
56691d7ea7
39 changed files with 52 additions and 52 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue