implement ICapVideoProvider.iter_search_results()
This commit is contained in:
parent
15625b9fa7
commit
e3ad695346
5 changed files with 54 additions and 4 deletions
|
|
@ -35,6 +35,15 @@ class ICapVideoProvider(ICap):
|
|||
def iter_page_urls(self, mozaic_url):
|
||||
raise NotImplementedError()
|
||||
|
||||
def iter_search_results(self, pattern=None):
|
||||
"""
|
||||
Iter results of a search on a pattern. Note that if pattern is None,
|
||||
it get the latest videos.
|
||||
|
||||
@param pattern [str] pattern to search on
|
||||
"""
|
||||
raise NotImplementedError()
|
||||
|
||||
def get_video(self, _id):
|
||||
"""
|
||||
Get a Video from an ID.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue