Commit graph

22 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
Florent
a019819f9d Move browser2 from weboob/tools/b2 to weboob/browser2 2014-10-02 11:01:34 +02:00
Florent
d014312a3d Add the debug decorator to dresdenwetter filter 2014-10-02 10:56:11 +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
Florent
76cb004eb4 Move ItemListTable-Element outside of page.py
One of the goal is to not import all modules needed by filters by
loading the page file.

In the same goal, move the import of parsers in the class definition.
2014-07-09 10:23:20 +02:00
Florent
a73daa18f4 Catch ValueError if a gauge is down 2014-04-21 11:53:20 +02:00
Florent
dc7a83cba0 Remove parse function 2014-03-20 10:23:08 +01:00
Florent
e5187bc5ed Simplify parse function 2014-03-19 17:50:57 +01:00
Florent
4e80317717 Update tests 2014-03-19 17:30:51 +01:00
Florent
ae3471fdf7 Rename Attr filter to Field 2014-03-19 16:20:24 +01:00
Florent
c4dfb49033 CleanChars is now an option of CleanText 2014-03-18 17:08:30 +01:00
Florent
cc68ffcfe2 Use more tools of browser2 in dresdenwetter (2/2) 2014-03-18 16:28:04 +01:00
Florent
01954fad4e NotAvailable can be now directly set 2014-03-18 12:03:18 +01:00
Florent
8b0bb88d14 Convert dresdenwetter to browser2 2014-03-18 10:43:30 +01:00
Florent
30f83d2bdc Use smaller id 2013-12-17 16:57:04 +01:00
Florent
0a7acaa42b Site changed 2013-07-17 13:45:15 +02:00
Florent
f615352340 No more snow sensor 2013-06-04 00:00:30 +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
Laurent Bachelier
c21d1f7925 Code clarity fixes
autopep8 -ir -j2 --select=E303,E125
Diff checked manually.
2013-03-16 00:52:43 +01:00
Florent
06e4851265 Remove unused import 2013-03-12 13:42:03 +01:00
Florent
38916422ee Add a small module to monitor weather in Dresden 2013-03-12 13:26:02 +01:00