Rename BaseBrowser to Browser
This commit is contained in:
parent
444d36eee8
commit
0088013ae1
132 changed files with 348 additions and 348 deletions
|
|
@ -18,7 +18,7 @@
|
|||
# along with weboob. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
|
||||
from weboob.tools.browser import BaseBrowser, BrowserIncorrectPassword
|
||||
from weboob.tools.browser import Browser, BrowserIncorrectPassword
|
||||
|
||||
from .pages import LoginPage, HomePage, RentedPage, HistoryPage, BookedPage
|
||||
|
||||
|
|
@ -27,10 +27,10 @@ __all__ = ['AloesBrowser']
|
|||
|
||||
|
||||
# Browser
|
||||
class AloesBrowser(BaseBrowser):
|
||||
class AloesBrowser(Browser):
|
||||
PROTOCOL = 'http'
|
||||
ENCODING = 'utf-8'
|
||||
USER_AGENT = BaseBrowser.USER_AGENTS['desktop_firefox']
|
||||
USER_AGENT = Browser.USER_AGENTS['desktop_firefox']
|
||||
#DEBUG_HTTP = True
|
||||
DEBUG_HTTP = False
|
||||
PAGES = {
|
||||
|
|
@ -43,7 +43,7 @@ class AloesBrowser(BaseBrowser):
|
|||
|
||||
def __init__(self, baseurl, *args, **kwargs):
|
||||
self.BASEURL = baseurl
|
||||
BaseBrowser.__init__(self, *args, **kwargs)
|
||||
Browser.__init__(self, *args, **kwargs)
|
||||
|
||||
def is_logged(self):
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue