fix youtube backend (closes #450)

Signed-off-by: Romain Bignon <romain@peerfuse.org>
This commit is contained in:
Christophe Benz 2011-01-05 18:01:48 +01:00 committed by Romain Bignon
commit efec968f80
3 changed files with 57 additions and 57 deletions

View file

@ -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)