cragr: Support of a new history layout

Much easier to parse due to having properly separated in table elements,
and having parent div with meaningful IDs.
Found on the Toulouse region.
This commit is contained in:
Laurent Bachelier 2011-04-10 19:37:43 +02:00 committed by Romain Bignon
commit 73137b681d
2 changed files with 15 additions and 3 deletions

View file

@ -42,6 +42,7 @@ class Cragr(BaseBrowser):
('https://%s/login/process' % website) + self.SESSION_REGEXP: pages.AccountsList,
'https://%s/accounting/listAccounts' % website: pages.AccountsList,
'https://%s/accounting/listOperations' % website: pages.AccountsList,
'https://%s/accounting/showAccountDetail.+' % website: pages.AccountsList,
}
BaseBrowser.__init__(self, *args, **kwargs)