Commit graph

174 commits

Author SHA1 Message Date
Florent
deaebc4942 downloadboob: code factorization 2015-09-20 16:56:43 +02:00
Florent
c190a4e0e4 downloadboob: pep8 fixes 2015-09-20 16:53:36 +02:00
Florent
cc0daad392 downloadboob: support download of m3u8 files
This is a copy and paste of videood. We should
factorize it in the future
2015-09-20 16:53:36 +02:00
Florent
8e1a6dd74c downloadboob: fix new file detection
Since the filename generation is based on the video.ext
field, we have to fill it before to check if the file
is downloaded.

Also do a little code factorisation
2015-09-20 16:53:36 +02:00
Florent
fe3c47b265 downloadboob: print link message only when needed 2015-09-20 16:53:36 +02:00
Florent
3914d76287 s/dev\/null/os.devnull + add binary flag
For windows compatibility
2015-09-08 08:43:04 +02:00
Alexandre Morignot
75f196e4d5 Adapt munin script to python3
print is a function in Python 3
closes #1421
2015-08-13 08:19:35 +02:00
Laurent Bachelier
97675879b0 Fall back on WEBOOB_WORKDIR if there is no WEBOOB_DATADIR 2015-07-17 16:39:25 +02:00
Laurent Bachelier
adc4cd2c1c Use or set the DATADIR environment variable
related to e93d724ed1
2015-07-17 16:32:28 +02:00
Florent
60c551ae29 contrib: fix object listing when tomonitore is not set 2015-07-03 08:03:18 +02:00
Bezleputh
fca4ece387 [report_account] fix checkbashisms
should close Debian Bug report logs - #772357
2015-04-15 15:17:03 +02:00
Bezleputh
85dafe36b9 [boobank-indicator] Add a gtk appindicator for boobank 2015-04-04 09:31:48 +02:00
Florent
b3aabdeeaf Be consistent in enable state: use human readable values 2015-03-17 22:16:15 +01:00
Romain Bignon
a529ecd521 add a contrib script to help forking weboob (courtesy of Larry Cow) 2015-01-15 12:06:20 +01:00
Bezleputh
2aa44acd20 [windows installer] fix #1668
check python version
add Gpg4win installation
2014-11-25 07:54:40 +01:00
Romain Bignon
89e7bbe9ef convert hds module to browser2 and fix it 2014-10-11 16:57:21 +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
Florent
628c63f899 Remove backend for do() calls 2014-10-10 14:11:45 +02:00
Romain Bignon
1a8a0db712 WebNip.iter_backends takes a new optional parameter 'module' 2014-10-08 17:10:13 +02:00
Romain Bignon
3ed6103740 use the new browser 2014-10-08 15:42:58 +02:00
Florent
dea6f1cf76 Fix printing of categories 2014-10-08 14:52:45 +02:00
Florent
e32a45b187 Update BrowserIncorrectPassword import 2014-10-08 10:27:59 +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
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
Laurent Bachelier
13b58b9fd7 videoobmc: Force relative imports 2014-10-06 14:00:49 +02:00
Camille Dehecq
3bfa13e64e Add graph_total 2014-10-01 19:13:47 +02:00
Camille Dehecq
6450c91647 Add category option to weboob-generic 2014-10-01 19:12:16 +02:00
Florent
a64c9f2edb Rename BaseApplication to Application 2014-09-26 10:18:12 +02:00
Bezleputh
bc0a9b89db [boobot/twitter] fix purge system 2014-09-09 11:25:10 +02:00
Romain Bignon
78a6bc4151 remove duplicated file 2014-09-06 12:23:44 +02:00
Bezleputh
ef3637f0c4 [boobot] fix check_twitter method 2014-09-05 15:53:18 +02:00
Bezleputh
3a7010f478 [boobot] add a check_twitter method 2014-09-05 13:55:10 +02:00
Bezleputh
927a35ec0d [XBMC] add missing init file 2014-09-02 21:39:36 +02:00
Bezleputh
1b5e632610 [XBMC] fix date management 2014-09-02 21:37:28 +02:00
Bezleputh
15fc10ed8a [XBMC] fix translation files 2014-09-02 20:11:32 +02:00
Bezleputh
5a932bdf30 [XBMC] no count restiction on ls command 2014-09-02 18:11:26 +02:00
Bezleputh
94b193d5fa [XBMC] use videoobmc instaed of videoobmc2 2014-09-02 18:10:12 +02:00
Bezleputh
579db854e8 [contrib] fix pyflakes in xbmc plugin 2014-09-02 17:51:12 +02:00
Bezleputh
d1839bfcd4 [contrib] add a xbmc plugin that interracts with videoob 2014-09-02 16:48:17 +02:00
Florent
58b0977ad9 Rename generic-munin to weboob-generic. Move documentation
Fixes #1355
2014-09-01 12:30:29 +02:00
Florent
3493cd0e9d Move munin scripts in munin folder 2014-09-01 12:30:29 +02:00
Romain Bignon
431e0f2b48 fix %searchquote on unicode strings 2014-08-07 14:53:21 +02:00
Romain Bignon
4aa7092a0c add command %delquote 2014-08-07 14:53:07 +02:00
Laurent Bachelier
dd4a66be77 Some missing renames of ICap to Cap
refs #1424
2014-07-09 12:50:32 +02:00
Florent
3ab0cf2899 Remove a useless file 2014-07-07 16:28:13 +02:00
Florent
3bb28b9b80 Update the README of munin-generic 2014-07-07 16:12:26 +02:00
Florent
9f8d866a80 s/ICap/Cap in contrib 2014-07-07 16:09:25 +02:00
Florent
be1f8707ff Encode and decode ID's in generic-munin 2014-05-20 23:07:40 +02:00
Bezleputh
06bfed431a [windows] fix bugs in windows installer scripts 2014-05-20 17:25:26 +02:00