Rename BasePage to Page
This commit is contained in:
parent
44dffce7b2
commit
444d36eee8
146 changed files with 525 additions and 525 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue