Commit graph

2,207 commits

Author SHA1 Message Date
Romain Bignon
89e7bbe9ef convert hds module to browser2 and fix it 2014-10-11 16:57:21 +02:00
Romain Bignon
ed94b3dbb3 fix website changes 2014-10-11 14:21:06 +02:00
Bezleputh
8ac7bbb434 [seloger] adapt to browser2 2014-10-11 14:20:36 +02:00
Bezleputh
04220ca44d [pap] fix image retrieving 2014-10-11 14:20:36 +02:00
Romain Bignon
ce7e019e9a fix unfinite loop on fail login, and fix error message lookup 2014-10-11 14:11:19 +02:00
Laurent Bachelier
55d37401bc societegenerale: PIL is a global requirement
And no other module or component has an ImportError message for PIL.
It is also outdated, as users might install pillow instead.
2014-10-11 11:50:38 +02:00
Laurent Bachelier
e32005bf26 vlille: Better description 2014-10-11 11:33:26 +02:00
Laurent Bachelier
f4c17cdc9d pep8: Fix E303 too many blank lines 2014-10-11 02:15:28 +02:00
Laurent Bachelier
4f897a8675 pep8: Fix object comparisons 2014-10-11 01:46:25 +02:00
Laurent Bachelier
c02ab5f2c5 wellsfargo: Remove unused imports 2014-10-11 01:41:08 +02:00
Laurent Bachelier
7aeb3e942e pep8: Fix indentation is not a multiple of four
autopep8 -a -r -i --select E111 .

Manual check.
2014-10-11 01:41:00 +02:00
Laurent Bachelier
21e8f82fd7 pep8: Use "X not in Y" instead of "not X in Y"
flake8 --select E713, semi-manual fixing
2014-10-11 01:27:24 +02:00
Laurent Bachelier
31a96228db unsee: Restrict URL to unsee domains
Otherwise it would crash any pastoob get!
2014-10-10 23:41:44 +02:00
Laurent Bachelier
99b4ce7d58 imgur: Restrict URL to imgur domains
Otherwise it would crash any pastoob get!
2014-10-10 23:41:44 +02:00
Laurent Bachelier
448c06d125 pep8 blank lines fixes
flake8 --select W391,E302,E301,E304

autopep8 can't fix W391 even though it claims it can.
Fixed using a simple custom script.
2014-10-10 23:41:44 +02:00
Laurent Bachelier
e783f2c821 Remove tuple method parameters
They can be found through autopep8 (W690) or python-modernize.
Variables manually renamed.

This is because Python 3 does not support tuple unpacking:
http://legacy.python.org/dev/peps/pep-3113/
2014-10-10 23:41:44 +02:00
Laurent Bachelier
6161a0aacd pep8 fixes, modernizations
autopep8 -a -r -i --select E711,E712,W601,W602,W603,W604,W690,E304,E401,E502 .
Also includes some manual reindentations (many are left after the print()
changes).
Manually checked, some modernizations not commited here.
2014-10-10 23:41:43 +02:00
Laurent Bachelier
e2ac8687c6 Always raise instances of NotImplementedError 2014-10-10 23:41:43 +02:00
Oleg Plakhotniuk
cbd084283d Improved Wells Fargo module stability.
Signed-off-by: Oleg Plakhotniuk <olegus8@gmail.com>
2014-10-10 23:40:57 +02:00
Romain Bignon
7339258978 fix fillobj on video thumbnail 2014-10-10 17:33:50 +02:00
Florent
40a8bc0ce1 Creditcoop/perso : upgrade to browser2 2014-10-10 11:49:49 +02:00
Bezleputh
05a2a8cc9c [pap] exclude adverts from other websites 2014-10-10 11:30:05 +02:00
Florent
6f5f41fe57 Use find object 2014-10-10 10:21:11 +02:00
Florent
17163cb278 Upgrade to browser2 2014-10-10 10:07:51 +02:00
Bezleputh
f00c9233c3 [pap] adapt to browser2 2014-10-09 16:14:42 +02:00
Romain Bignon
e877f8faa6 fix parsing of huge account balances 2014-10-08 13:02:34 +02:00
Bezleputh
6414d65d5d [leboncoin] remove commented code 2014-10-08 10:45:31 +02:00
Bezleputh
cdab615d92 [leboncoin] management of url field 2014-10-08 10:45:31 +02:00
Bezleputh
c277d2dae7 [leboncoin] fix number of rooms select parsing 2014-10-08 10:45:31 +02:00
Bezleputh
d0bf9b0ec1 [leboncoin] fix pagination 2014-10-08 10:45:30 +02:00
Florent
3deb8c8fa5 Set an unique id on CIC 2014-10-08 10:43:01 +02:00
Florent
993307e553 Do not import Browser1 exception in twitter 2014-10-08 10:33:43 +02:00
Romain Bignon
7bb4aff1b3 fix parsing of transaction amounts (strip nbsp) 2014-10-07 12:25:34 +02:00
Romain Bignon
e0d2d33299 increase timeout because of slow website 2014-10-07 11:48:24 +02:00
Bezleputh
73c3786a3d [arretssurimages] site changed 2014-10-07 10:21:10 +02:00
Bezleputh
951356a6d7 [feedly] fix unicode warning 2014-10-07 10:21:10 +02:00
Romain Bignon
860492b091 fix certificate hash 2014-10-07 08:46:14 +02:00
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
1f95e7631f works with adopteunmec via https 2014-10-06 17:37:52 +02:00
Romain Bignon
a443bc6ca1 fix crash on late departures 2014-10-06 17:30:45 +02:00
Romain Bignon
f1b6d27823 remove useless features of module that don't work anymore 2014-10-06 17:22:40 +02:00
Romain Bignon
be7d49312d add check to prevent prints in weboob modules 2014-10-06 17:22:37 +02:00
Vincent Paredes
1eb96574d0 Revert "the account information div's id change, so we look for the dom structure"
This reverts commit 12d26a64a9. Because they switch back to old site version
2014-10-06 17:02:04 +02:00
Vincent Paredes
c64e8d598b login form is now the second form on the page 2014-10-06 17:02:04 +02:00
Vincent Paredes
63c934f889 adding new md5 for virtkeyboard 2014-10-06 17:02:04 +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
Laurent Bachelier
0db5282f1e quvi: Force relative import 2014-10-06 14:04:50 +02:00
Laurent Bachelier
dadf0f59ae ovs: Force relative import 2014-10-06 14:04:01 +02:00
Laurent Bachelier
140195790e lacentrale: Fix deprecated has_key 2014-10-06 14:03:28 +02:00
Bezleputh
8816be46f5 [leboncoin] fix select values 2014-10-03 15:58:28 +02:00