limit search results
This commit is contained in:
parent
b2921d0dc2
commit
9e77ea236f
1 changed files with 1 additions and 1 deletions
|
|
@ -106,7 +106,7 @@ class MainWindow(QtMainWindow):
|
||||||
backend_name = str(self.ui.backendEdit.itemData(self.ui.backendEdit.currentIndex()).toString())
|
backend_name = str(self.ui.backendEdit.itemData(self.ui.backendEdit.currentIndex()).toString())
|
||||||
|
|
||||||
self.process = QtDo(self.weboob, self.addVideo)
|
self.process = QtDo(self.weboob, self.addVideo)
|
||||||
self.process.do('iter_search_results', pattern, self.ui.sortbyEdit.currentIndex(), nsfw=True, backends=backend_name)
|
self.process.do('iter_search_results', pattern, self.ui.sortbyEdit.currentIndex(), nsfw=True, max_results=20, backends=backend_name)
|
||||||
|
|
||||||
def addVideo(self, backend, video):
|
def addVideo(self, backend, video):
|
||||||
if not backend:
|
if not backend:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue