Commit graph

12 commits

Author SHA1 Message Date
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
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
Bezleputh
0297f293a7 [canalplus] do not fill url in search command 2014-05-19 13:48:27 +02:00
Bezleputh
e0753f9a23 [canalplus] fix play and download 2014-05-15 14:49:37 +02:00
Bezleputh
99be5d9e13 [canalplus] fix browsing categories 2014-05-14 23:18:01 +02:00
Pierre Mazière
5769384039 modify canalplus module to use the new BaseVideo/ICapVideo classes 2013-12-22 20:04:53 +01:00
Romain Bignon
f2157c4cfb fix some conversion warnings 2012-04-03 22:40:49 +02:00
Romain Bignon
4c47e42dee convert values to unicode 2012-04-01 15:56:43 +02:00
Laurent Bachelier
5578618b06 Friendlier paths in canalplus
Lowercase, replace some separators.
This shows the point of having a path and a title!
Also try to fix the title if it is all uppercase.
2012-03-13 22:08:46 +01:00
Laurent Bachelier
ec689b1e7f Move all canalplus pages in one file
There isn't enough code to justify multiple files.
Also includes pep8 fixes.
2012-03-13 22:08:45 +01:00
Renamed from modules/canalplus/pages/videopage.py (Browse further)