rename BasePage.loaded() to on_loaded()

This commit is contained in:
Christophe Benz 2010-04-16 17:29:48 +02:00
commit 42de7aa5a3
16 changed files with 18 additions and 18 deletions

View file

@ -21,7 +21,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
from weboob.tools.browser import BasePage
class VideoPage(BasePage):
def loaded(self):
def on_loaded(self):
found = self.document.getroot().cssselect('meta[name=title]')
if found:
content = found[0].attrib['content']