rename BasePage.loaded() to on_loaded()
This commit is contained in:
parent
3b312923ea
commit
42de7aa5a3
16 changed files with 18 additions and 18 deletions
|
|
@ -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']
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue