translate abstract methods to new API

This commit is contained in:
Romain Bignon 2010-04-16 18:45:08 +02:00
commit d61d26dda9
2 changed files with 2 additions and 2 deletions

View file

@ -28,7 +28,7 @@ from weboob.capabilities.video import Video
class VideoPage(PornPage):
URL_REGEXP = re.compile("https?://[w\.]*youporn.com/watch/(\d+)/?.*")
def loaded(self):
def on_loaded(self):
if not PornPage.loaded(self):
return