add decorator pagination
This commit is contained in:
parent
9a3258419d
commit
5f59c130b3
3 changed files with 44 additions and 3 deletions
|
|
@ -47,10 +47,10 @@ class YoujizzBrowser(PagesBrowser):
|
|||
self.search.go(pattern=pattern, pagenum=1)
|
||||
assert self.search.is_here(pattern=pattern, pagenum=1)
|
||||
|
||||
return self.pagination(lambda: self.page.iter_videos())
|
||||
return self.page.iter_videos()
|
||||
|
||||
def latest_videos(self):
|
||||
self.index.go()
|
||||
assert self.index.is_here()
|
||||
|
||||
return self.pagination(lambda: self.page.iter_videos())
|
||||
return self.page.iter_videos()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue