rename iter_search_results to either search_videos and search_gallery (closes #779)
This commit is contained in:
parent
46f94a1d78
commit
56691d7ea7
39 changed files with 52 additions and 52 deletions
|
|
@ -41,7 +41,7 @@ class InaBrowser(BaseBrowser):
|
|||
self.location(url)
|
||||
return self.page.get_video(video)
|
||||
|
||||
def iter_search_results(self, pattern):
|
||||
def search_videos(self, pattern):
|
||||
self.location(self.buildurl('http://boutique.ina.fr/recherche/recherche', search=pattern.encode('utf-8')))
|
||||
assert self.is_on_page(SearchPage)
|
||||
return self.page.iter_videos()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue