Commit graph

34 commits

Author SHA1 Message Date
Romain Bignon
d61e15cf84 rename things related to browsers
weboob.tools.browser -> weboob.deprecated.browser
weboob.tools.parsers -> weboob.deprecated.browser.parsers
weboob.tools.mech -> weboob.deprecated.mech
weboob.browser2 -> weboob.browser
weboob.core.exceptions -> weboob.exceptions

Also, the new tree for browser2 is:

weboob.browser: import weboob.browser.browsers.* and weboob.browser.url.*
weboob.browser.browsers: all browsers (including PagesBrowser and LoginBrowser)
weboob.browser.url: the URL class
weboob.browser.profiles: all Profile classes
weboob.browser.sessions: WeboobSession and FuturesSession
weboob.browser.cookies: that's a cookies thing
weboob.browser.pages: all Page and derivated classes, and Form class
weboob.browser.exceptions: specific browser exceptions
weboob.browser.elements: AbstractElement classes, and 'method' decorator
weboob.browser.filters.*: all filters
2014-10-07 00:30:07 +02:00
Romain Bignon
be7d49312d add check to prevent prints in weboob modules 2014-10-06 17:22:37 +02:00
Laurent Bachelier
74a4ef6723 Use the print function everywhere
python modernize.py --no-six -f libmodernize.fixes.fix_print -w

With manual fixes as the import was put always on top.
2014-10-06 17:00:17 +02:00
Florent
0088013ae1 Rename BaseBrowser to Browser 2014-09-26 10:18:12 +02:00
Florent
444d36eee8 Rename BasePage to Page 2014-09-26 10:18:12 +02:00
Laurent Bachelier
3da02fde24 Remove useless __all__ in modules
They bring nothing of value (we never use import * anyway) and introduce
a maintenance burden.

The __all__ that I left might not be very useful either but at least
they are not a pain to maintain; they are also used by pyflakes in some
cases.
2014-09-09 19:00:02 +02:00
Romain Bignon
0008cf17f1 order transactions by date to prevent LinearDateGuesser to be duped by the f*cking website 2014-07-01 12:10:17 +02:00
Romain Bignon
6808ac471f fix parsing dates in labels (compatibility with Perigord) 2014-02-16 21:52:45 +01:00
Romain Bignon
8fdbf330dd improvements on transaction and account types detection 2014-02-16 21:04:46 +01:00
Romain Bignon
5b03648b68 add Account.TYPE_CARD 2014-02-02 10:50:01 +01:00
Romain Bignon
2a9978989a fix crash when there are only three columns in card transactions list 2013-10-08 18:34:15 +02:00
Romain Bignon
2a071a2ec6 correctly set cards' Transaction.date to the debit date 2013-09-06 17:59:40 +02:00
Romain Bignon
19807e1f96 fix parsing of card accounts in particular cases 2013-08-09 11:33:19 +02:00
Romain Bignon
e1eb1b80af do not follow spam links 2013-08-07 19:06:34 +02:00
Romain Bignon
04df80d22b cragr: fix parsing cards 2013-08-01 18:08:13 +02:00
Romain Bignon
1282a32cb1 cragr: do not fallback on mobile website when homepage isn't the accounts list 2013-07-28 22:56:55 +02:00
Noé Rubinstein
f1d3f03a92 cragr: add support for credit cards 2013-07-26 22:56:10 +02:00
Romain Bignon
f79ae2d566 do not consider accounts without balance 2013-07-26 15:09:30 +02:00
Romain Bignon
0419556b1b ignore accounts without balance 2013-07-25 15:27:35 +02:00
Christophe Lampin
f6b35956e7 fix conversion warning
Signed-off-by: Christophe Lampin <weboob@lampin.net>
2013-07-23 13:10:45 +02:00
Romain Bignon
faea86ad73 support special login URLs on some regions 2013-07-16 09:52:17 +02:00
Kitof
e3485fb185 Bug fix to use web site instead of mobile website for ca-centrest, and probably others (Fix #1035)
Signed-off-by: Kitof <git@kitof.net>
Signed-off-by: Romain Bignon <romain@budget-insight.com>
2013-07-15 14:15:00 +02:00
Romain Bignon
8597a3102b better detection of useful label 2013-06-22 10:46:08 +02:00
Romain Bignon
8cd0dff1df do not raise BrowserIncorrectPassword when the website displays an useless "urgent message" on login 2013-05-30 14:24:16 +02:00
Romain Bignon
510fc6461f fix detection of old website 2013-03-26 16:11:22 +01:00
Romain Bignon
d17dda5965 detect when credentials are wrong 2013-03-21 13:21:42 +01:00
Romain Bignon
a8d2d86c6e the fucking columns heads are not same size than data columns 2013-03-21 12:35:13 +01:00
Romain Bignon
17d2c732a8 fix parsing of CEL accounts 2013-03-21 12:23:17 +01:00
Romain Bignon
9ce8385e3e fix heritage 2013-03-21 11:59:29 +01:00
Romain Bignon
325405b6a1 support some variants of website 2013-03-21 11:44:26 +01:00
Romain Bignon
a46f4cfdff fallback on mobile website if there is no CCPTE input field on homepage 2013-03-21 11:44:13 +01:00
Romain Bignon
5c718184c6 go on the savings page to get more accounts (patch from Xavier Guerrin) 2013-03-21 10:48:39 +01:00
Romain Bignon
7523cea4b2 parse only operation dates for date transactions
Dates in labels are dd/mm for card transactions, but can be mm/yy for
other kind of transactions.
2013-03-19 13:43:31 +01:00
Romain Bignon
240efb85f4 support new Crédit Agricole website 2013-03-19 11:34:46 +01:00