Rename BaseBrowser to Browser
This commit is contained in:
parent
444d36eee8
commit
0088013ae1
132 changed files with 348 additions and 348 deletions
|
|
@ -18,14 +18,14 @@
|
|||
# along with weboob. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
|
||||
from weboob.tools.browser import BaseBrowser
|
||||
from weboob.tools.browser import Browser
|
||||
from .pages import RoadmapSearchPage, RoadmapResultsPage, RoadmapPage, RoadmapAmbiguity
|
||||
|
||||
|
||||
__all__ = ['JVMalin']
|
||||
|
||||
|
||||
class JVMalin(BaseBrowser):
|
||||
class JVMalin(Browser):
|
||||
DOMAIN = 'www.jvmalin.fr'
|
||||
PAGES = {
|
||||
'http://www\.jvmalin\.fr/Itineraires/Recherche.*': RoadmapSearchPage,
|
||||
|
|
@ -34,7 +34,7 @@ class JVMalin(BaseBrowser):
|
|||
}
|
||||
|
||||
def __init__(self, **kwargs):
|
||||
BaseBrowser.__init__(self, '', **kwargs)
|
||||
Browser.__init__(self, '', **kwargs)
|
||||
|
||||
def get_roadmap(self, departure, arrival, filters):
|
||||
self.location('/Itineraires/Recherche')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue