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
|
|
@ -69,7 +69,7 @@ class CanalplusBrowser(BaseBrowser):
|
|||
def home(self):
|
||||
self.location('http://service.canal-plus.com/video/rest/initPlayer/cplus/')
|
||||
|
||||
def iter_search_results(self, pattern):
|
||||
def search_videos(self, pattern):
|
||||
self.location('http://service.canal-plus.com/video/rest/search/cplus/' + urllib.quote_plus(pattern.replace('/', '').encode('utf-8')))
|
||||
return self.page.iter_results()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue