Commit graph

48 commits

Author SHA1 Message Date
Bezleputh
118415dd62 [seloger] fix json parsing 2015-05-17 16:29:13 +02:00
Bezleputh
339283a3c3 [seloger] fix #1883 handle special characters 2015-05-17 16:29:11 +02:00
Bezleputh
a39dff77a5 [Element] create new element : DictElement
use new DictElement in modules
2015-03-13 00:05:35 +01:00
Bezleputh
0d148b9e47 [seloger] fix bug on pagination 2014-10-29 14:02:34 +01:00
Bezleputh
4ef82b6dd7 [seloger] remove useless condition 2014-10-23 14:42:08 +02:00
Florent
feb1405813 bump to 1.1 2014-10-17 14:10:38 +02:00
Bezleputh
725adb1ed4 [seloger] fix obj filling 2014-10-14 13:39:42 +02:00
Bezleputh
532356a55f [seloger] fix pagination 2014-10-14 13:39:42 +02:00
Bezleputh
8ac7bbb434 [seloger] adapt to browser2 2014-10-11 14:20:36 +02:00
Laurent Bachelier
f4c17cdc9d pep8: Fix E303 too many blank lines 2014-10-11 02:15:28 +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
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
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
Florent
5a1d83b567 Rename BaseModule to Module and Module to LoadedModule 2014-09-26 10:18:12 +02:00
Florent
f3aeddffbc Rename backend.py to module.py 2014-09-26 10:18:12 +02:00
Florent
9370b2fae7 s/Backend/Module 2014-09-26 10:18:11 +02:00
Florent
3ecb491c1c s/BACKEND/MODULE/ 2014-09-26 10:18:11 +02:00
Florent
8559af3d6a s/BaseBackend/BaseModule 2014-09-26 10:18:11 +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
Florent
432f97e95c bump to 1.0 2014-09-03 17:14:10 +02:00
Romain Bignon
e025fb0b20 rename ICap to Cap (closes #1424) 2014-07-05 17:33:44 +02:00
Florent
9ca0bbae6a bump to 0.j 2014-05-19 22:45:35 +02:00
Florent
a82f57512c bump to 0.i 2014-01-08 23:40:16 +01:00
Florent
9b022b2ebe bump to 0.h 2013-08-03 14:31:13 +02: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
c0740e695d remove useless import of with_statement (we do not support anymore python2.5)
refs #806
2013-07-27 14:38:18 +02:00
Florent
9484099a1d bump to 0.g 2013-03-26 18:31:12 +01:00
Laurent Bachelier
7094931c92 Easy spacing fixes, trailing stuff
Remove useless trailing \
Remove trailing spaces
Add missing empty lines

autopep8 -ir -j2 --select=E301,E302,E502,W291,W293,W391 .

Diff quickly checked.
2013-03-16 00:54:55 +01:00
Florent
bf3132e8c0 bump to 0.f 2013-01-25 17:23:49 +01:00
Romain Bignon
4a1e4b5afa bump to 0.e 2012-10-28 20:39:49 +01:00
Damien Cassou
0a83341849 Add missing unicode() calls to avoid ConversionWarning reports
Signed-off-by: Damien Cassou <damien.cassou@gmail.com>
Signed-off-by: Romain Bignon <romain@symlink.me>
2012-06-11 21:18:21 +02:00
Romain Bignon
2f8072e89e bump to 0.d 2012-05-04 21:17:46 +02:00
Romain Bignon
b157e92d5b use decimal.Decimal instead of float to store amounts of money 2012-03-29 16:31:18 +02:00
Laurent Bachelier
f489f51f62 Yet another fix for compatibility with Python 2.5 2012-03-27 03:55:47 +02:00
Romain Bignon
8e391d0b88 bump to 0.c 2012-03-14 22:09:24 +01:00
Laurent Bachelier
062f2c4c3e Fix Python 2.5 support
And fix some PEP8 style issues (mostly about spaces) while I was there.

refs #806
2012-03-13 12:36:02 +01:00
Romain Bignon
bb06a46abf fix unicode issues 2012-03-12 13:57:20 +01:00
Romain Bignon
f5ca33f80e can looking for a rent or a sale 2012-02-19 18:35:33 +01:00
Romain Bignon
1d23f42ffa loop on all results pages 2012-02-18 16:21:43 +01:00
Romain Bignon
c172a1b1af remove unused import 2012-02-17 14:43:55 +01:00
Romain Bignon
b6379f7f37 add parameter 'nb_rooms' in queries 2012-02-17 13:25:06 +01:00
Romain Bignon
0b74d5a8c4 use mobile API to search housings too 2012-02-16 17:04:54 +01:00
Romain Bignon
7f01e431a6 use an android useragent 2012-02-15 23:01:10 +01:00
Romain Bignon
2e3a8698f8 oops 2012-02-14 18:27:59 +01:00
Romain Bignon
2a860200b9 use mobile API to parse housing informations 2012-02-14 18:23:19 +01:00
Romain Bignon
0c522d948a add housing photos 2012-02-11 19:06:39 +01:00
Romain Bignon
42941589c5 add module 'seloger' 2012-02-11 16:25:19 +01:00