removed unused functions
This commit is contained in:
parent
07fa14915c
commit
39afdae0b2
4 changed files with 0 additions and 14 deletions
|
|
@ -46,10 +46,6 @@ class YoujizzBackend(BaseBackend, ICapVideo):
|
|||
video = self.browser.get_video(_id)
|
||||
return video
|
||||
|
||||
def iter_page_urls(self, mozaic_url):
|
||||
with self.browser:
|
||||
return self.browser.iter_page_urls(mozaic_url)
|
||||
|
||||
def iter_search_results(self, pattern=None, sortby=ICapVideo.SEARCH_RELEVANCE, nsfw=False):
|
||||
if not nsfw:
|
||||
return set()
|
||||
|
|
|
|||
|
|
@ -43,10 +43,6 @@ class YoujizzBrowser(BaseBrowser):
|
|||
self.location(url)
|
||||
return self.page.get_video(video)
|
||||
|
||||
@check_domain
|
||||
def iter_page_urls(self, mozaic_url):
|
||||
raise NotImplementedError()
|
||||
|
||||
def iter_search_results(self, pattern):
|
||||
if not pattern:
|
||||
self.home()
|
||||
|
|
|
|||
|
|
@ -52,9 +52,6 @@ class YoupornBackend(BaseBackend, ICapVideo):
|
|||
with self.browser:
|
||||
return self.browser.iter_search_results(pattern, self.SORTBY[sortby])
|
||||
|
||||
def iter_page_urls(self, mozaic_url):
|
||||
raise NotImplementedError()
|
||||
|
||||
def fill_video(self, video, fields):
|
||||
if fields != ['thumbnail']:
|
||||
# if we don't want only the thumbnail, we probably want also every fields
|
||||
|
|
|
|||
|
|
@ -68,9 +68,6 @@ class YoutubeBackend(BaseBackend, ICapVideo):
|
|||
)
|
||||
yield video
|
||||
|
||||
def iter_page_urls(self, mozaic_url):
|
||||
raise NotImplementedError()
|
||||
|
||||
def fill_video(self, video, fields):
|
||||
if fields != ['thumbnail']:
|
||||
# if we don't want only the thumbnail, we probably want also every fields
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue