better handle IDs in video backends, enhance user interaction
This commit is contained in:
parent
a9c8c93965
commit
2b93eec3c9
16 changed files with 228 additions and 214 deletions
|
|
@ -50,6 +50,6 @@ class YoupornBrowser(BaseBrowser):
|
|||
assert self.is_on_page(IndexPage)
|
||||
return self.page.iter_videos()
|
||||
|
||||
def get_video(self, _id):
|
||||
self.location(YoupornVideo.id2url(_id))
|
||||
def get_video(self, url):
|
||||
self.location(url)
|
||||
return self.page.video
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue