Commit graph

34 commits

Author SHA1 Message Date
Florent
feb1405813 bump to 1.1 2014-10-17 14:10:38 +02:00
Laurent Bachelier
448c06d125 pep8 blank lines fixes
flake8 --select W391,E302,E301,E304

autopep8 can't fix W391 even though it claims it can.
Fixed using a simple custom script.
2014-10-10 23:41:44 +02:00
Laurent Bachelier
6161a0aacd pep8 fixes, modernizations
autopep8 -a -r -i --select E711,E712,W601,W602,W603,W604,W690,E304,E401,E502 .
Also includes some manual reindentations (many are left after the print()
changes).
Manually checked, some modernizations not commited here.
2014-10-10 23:41:43 +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
blckshrk
0006b52c19 Coverage improvement on the backend. 2013-11-04 11:29:57 +01:00
Florent
9b022b2ebe bump to 0.h 2013-08-03 14:31:13 +02:00
Romain Bignon
6c0e9e34a2 add attribute 'ext' 2013-07-27 13:32:11 +02:00
Laurent Bachelier
36f2c04c80 Remove useless (same as parent) method 2013-05-14 10:39:03 +02:00
Florent
9484099a1d bump to 0.g 2013-03-26 18:31:12 +01:00
Julien Veyssier
8d49950813 finaly handle BrowserHTTPNotFound in backend browsers 2013-03-18 15:02:38 +01:00
Julien Veyssier
5d923bc73b autopep8 with 120 chars line length on my modules 2013-03-18 11:16:05 +01:00
Laurent Bachelier
f37e3c5742 Fix indents not multiples of four 2013-03-16 00:57:31 +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
Julien Veyssier
057900015b [tvsubtitles] logo 2013-03-15 11:54:51 +01:00
Julien Veyssier
1c7e7b9dec [qcineoob] maybe better that backends handle capital letters 2013-03-13 02:05:49 +01:00
Julien Veyssier
320a477b87 [tvsubtitles] encoding fixes 2013-03-13 01:16:42 +01:00
Julien Veyssier
8a3c3307e3 copyright headers of many modules/cap corrected 2013-02-28 14:13:51 +01:00
Julien Veyssier
e497d2ebaf pyflakes corrections 2013-02-28 14:05:39 +01:00
Julien Veyssier
d54adca470 [subtitle] FPS field removed 2013-02-28 00:26:33 +01:00
Julien Veyssier
02d61250cf subtitle language improvement 2013-02-28 00:26:33 +01:00
Julien Veyssier
f23a9ab4af [tvsub] correction when empty result 2013-02-28 00:26:32 +01:00
Julien Veyssier
a6298871f2 new subtitle backend : tvsubtitles 2013-02-28 00:26:32 +01:00