Commit graph

12 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
04244da09c [transilien] fix ambiguous departure/arrival in roadmap 2014-11-05 08:22:13 +01:00
Bezleputh
ca01b6afd4 [transilien] fix _regexp name in RoadMapDuration filter 2014-11-05 08:22:13 +01: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
a443bc6ca1 fix crash on late departures 2014-10-06 17:30:45 +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
a019819f9d Move browser2 from weboob/tools/b2 to weboob/browser2 2014-10-02 11:01:34 +02:00
Florent
54a1bc4809 Remove * imports in filters 2014-09-29 22:31:54 +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
449ea03f68 fix parsing of departures on some stations
- fix when there are several tables (js pagination?)
- fix when there are hints on bottom of tables
2014-08-30 17:17:07 +02:00
Bezleputh
f4576b5921 [transilien] fix #938 and adapt to brower2 2014-08-30 15:02:48 +02:00