enable again search command to be able to use downloadboob
Signed-off-by: franek <franek@chicour.net>
This commit is contained in:
parent
145f3cf2c0
commit
c4c5608e5f
1 changed files with 3 additions and 3 deletions
|
|
@ -45,9 +45,9 @@ class ArretSurImagesBackend(BaseBackend, ICapVideo, ICapCollection):
|
||||||
return self.create_browser(self.config['login'].get(), self.config['password'].get())
|
return self.create_browser(self.config['login'].get(), self.config['password'].get())
|
||||||
|
|
||||||
def search_videos(self, pattern, sortby=ICapVideo.SEARCH_RELEVANCE, nsfw=False, max_results=None):
|
def search_videos(self, pattern, sortby=ICapVideo.SEARCH_RELEVANCE, nsfw=False, max_results=None):
|
||||||
# with self.browser:
|
with self.browser:
|
||||||
# return self.browser.search_videos(pattern)
|
return self.browser.search_videos(pattern)
|
||||||
raise UserError('Search does not work on ASI website, use ls latest command')
|
# raise UserError('Search does not work on ASI website, use ls latest command')
|
||||||
|
|
||||||
def get_video(self, _id):
|
def get_video(self, _id):
|
||||||
with self.browser:
|
with self.browser:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue