Rename BasePage to Page

This commit is contained in:
Florent 2014-09-23 10:50:25 +02:00
commit 444d36eee8
146 changed files with 525 additions and 525 deletions

View file

@ -22,11 +22,11 @@ import string
from weboob.capabilities.torrent import Torrent
from weboob.capabilities.base import NotAvailable, NotLoaded
from weboob.tools.browser import BasePage
from weboob.tools.browser import Page
from weboob.tools.misc import get_bytes_size
class TorrentsPage(BasePage):
class TorrentsPage(Page):
def iter_torrents(self):
for div in self.parser.select(self.document.getroot(),'div.list_tor'):
name = NotAvailable
@ -63,7 +63,7 @@ class TorrentsPage(BasePage):
yield torrent
class TorrentPage(BasePage):
class TorrentPage(Page):
def get_torrent(self):
seed = 0
leech = 0