Commit graph

15 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
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
4784cb59c5 support new authentication system 2013-11-23 12:07:12 +01:00
Florent Fourcot
0443855602 browser.encoding is None 2013-10-30 15:14:14 +01:00
Florent
75521d1198 Fix conversion warning
closes #1304
2013-10-28 16:19:39 +01:00
Laurent Bachelier
a6ad7e83ff Use newer form of catching exceptions
autopep8 -i --select=W602
Also some other minor deprecated syntax changes, like "while 1".
I did not commit the less obvious changes.
2013-07-27 15:16:16 +02:00
Romain Bignon
32db47cf37 fix login on societegenerale 2013-02-04 13:46:42 +01:00
Romain Bignon
cdbda7c05c fix login on website 2012-09-24 15:14:17 +02:00
Romain Bignon
4101ea9c3d handle error message when unable to login 2012-09-15 11:04:49 +02:00
Romain Bignon
9547cb0afa truncate password to 6 digits 2012-08-09 20:29:07 +02:00
Romain Bignon
168eb85381 support website changes about authentication (closes #891) 2012-06-14 12:54:41 +02:00
Laurent Bachelier
006e97a8be PEP8 style fixes and other small style fixes
I used autopep8 on some files and did carefully check the changes.
I ignored E501,E302,E231,E225,E222,E221,E241,E203 in my search, and at
least E501 on any autopep8 run.

Other style fixes not related to PEP8:
* Only use new-style classes. I don't think the usage of old-style
  classes was voluntary. Old-style classes are removed in Python 3.
* Convert an if/else to a one-liner in mediawiki, change docstring style
  change to a comment something that wasn't really appropriate for a
  docstring.
* Unneeded first if condition in meteofrance
2012-03-14 04:51:46 +01:00
Romain Bignon
6b11124091 check if login is failed 2012-02-09 19:05:13 +01:00
Romain Bignon
abb24b9954 several fixes to run successfully tests 2012-01-17 17:46:13 +01:00
Romain Bignon
14a7a1d362 support repositories to manage backends (closes #747) 2012-01-17 17:00:05 +01:00
Renamed from weboob/backends/societegenerale/pages/login.py (Browse further)