[arretsurimages] fix #1691, correctly implement search and add a test
This commit is contained in:
parent
cdb7d6ba49
commit
71347cb8f7
4 changed files with 17 additions and 7 deletions
|
|
@ -41,7 +41,7 @@ class ArretSurImagesModule(Module, CapVideo, CapCollection):
|
|||
BROWSER = ArretSurImagesBrowser
|
||||
|
||||
def create_default_browser(self):
|
||||
return self.create_browser(self.config['login'].get(), self.config['password'].get())
|
||||
return self.create_browser(self.config['login'].get(), self.config['password'].get(), get_home=False)
|
||||
|
||||
def search_videos(self, pattern, sortby=CapVideo.SEARCH_RELEVANCE, nsfw=False):
|
||||
with self.browser:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue