Commit 25b2c46d authored by Roger Philibert's avatar Roger Philibert Committed by Vincent A

[pornhub] search is not always on page 1

parent 4c27e51d
Pipeline #1481 failed with stages
in 62 minutes and 9 seconds
......@@ -42,7 +42,7 @@ class PornhubBrowser(PagesBrowser):
def search_videos(self, pattern):
self.search.go(pattern=pattern, pagenum=1)
assert self.search.is_here(pattern=pattern, pagenum=1)
assert self.search.is_here()
return self.page.iter_videos()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment