Commit graph

48 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
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
Bezleputh
6c9bb44c4b [opensubtitles] fix #1295 2014-08-31 20:35:18 +02:00
Laurent Bachelier
0f90d6e9dd Some English fixes
"informations" is incorrect; try to use a better word, or the invariant "information".
2014-07-09 12:50:32 +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
Romain Bignon
532369e5da add transparency 2014-02-21 20:24:40 +01:00
Florent
a82f57512c bump to 0.i 2014-01-08 23:40:16 +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
766b69ec4a [opensubtitles] favicon 2013-03-18 15:02:40 +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
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
Julien Veyssier
1465221b37 [opensubtitles] encoding 2013-03-13 16:00:05 +01:00
Julien Veyssier
2c3eb10ac3 [opensubtitles] search is faster, fillobj is handled for info command 2013-03-13 14:37:53 +01:00
Julien Veyssier
e98008338a [suboob] language hashtable moved from opensubtitles backend to application 2013-03-13 01:16:43 +01:00
Julien Veyssier
98235d7719 [opensub] encoding corrections and test fix 2013-03-13 01:16:42 +01:00
Julien Veyssier
5b54be763d [opensub] deletion of big commented block 2013-02-28 14:15:09 +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
2c9d7ab540 opensub language normalisation 2013-02-28 00:26:33 +01:00
Julien Veyssier
02d61250cf subtitle language improvement 2013-02-28 00:26:33 +01:00
Julien Veyssier
a6298871f2 new subtitle backend : tvsubtitles 2013-02-28 00:26:32 +01:00
Julien Veyssier
968df91c4d opensub, s/parser.select/getiterator/ 2013-02-28 00:26:32 +01:00
Julien Veyssier
8e0a245370 opensub languages 2013-02-28 00:26:32 +01:00
Julien Veyssier
d8e9f779b9 opensub all subtitles are built from the detailed page 2013-02-28 00:26:32 +01:00
Julien Veyssier
f880e94a44 opensub improved 2013-02-28 00:26:32 +01:00
Julien Veyssier
021be16558 opensub logical id simplification 2013-02-28 00:26:32 +01:00
Julien Veyssier
d9ddfaafb0 opensub almost done 2013-02-28 00:26:32 +01:00
Julien Veyssier
1f03dc7c7f [opensub] multi sub result page 2013-02-28 00:26:31 +01:00
Julien Veyssier
50d69004f6 favicon opensubtitles 2013-02-28 00:26:31 +01:00
Julien Veyssier
af687ec9b8 [subtitle] opensub search page almost done 2013-02-28 00:26:31 +01:00
Julien Veyssier
fe49a7e273 [subtitle] beginning backend opensubtitles 2013-02-28 00:26:31 +01:00