Commit graph

13 commits

Author SHA1 Message Date
Bezleputh
a39dff77a5 [Element] create new element : DictElement
use new DictElement in modules
2015-03-13 00:05:35 +01:00
Bezleputh
05a2a8cc9c [pap] exclude adverts from other websites 2014-10-10 11:30:05 +02:00
Bezleputh
f00c9233c3 [pap] adapt to browser2 2014-10-09 16:14:42 +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
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
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
Romain Bignon
47a78e72f5 fix parsing housings (closes #874) 2012-06-11 21:24:18 +02: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
b157e92d5b use decimal.Decimal instead of float to store amounts of money 2012-03-29 16:31:18 +02:00
Romain Bignon
f5ca33f80e can looking for a rent or a sale 2012-02-19 18:35:33 +01:00
Romain Bignon
20682b3e94 changes in the CapHounsing API 2012-02-14 18:21:11 +01:00
Romain Bignon
cddfd39542 add module pap (ICapHousing) 2012-02-11 12:48:45 +01:00