fix youtube backend (closes #450)
Signed-off-by: Romain Bignon <romain@peerfuse.org>
This commit is contained in:
parent
bc606d3640
commit
efec968f80
3 changed files with 57 additions and 57 deletions
|
|
@ -33,8 +33,3 @@ class YoutubeBrowser(BaseBrowser):
|
|||
r'.*youtube\.com/index\?ytsession=.+': ForbiddenVideoPage,
|
||||
r'.*youtube\.com/verify_age\?next_url=(?P<next_url>.+)': VerifyAgePage,
|
||||
}
|
||||
|
||||
@id2url(YoutubeVideo.id2url)
|
||||
def get_video(self, url, video=None):
|
||||
self.location(url)
|
||||
return self.page.get_video(video)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue