Commit graph

3,568 commits

Author SHA1 Message Date
Pierre-Louis Bonicoli
ead90ebf92 code example: use HTMLPage instead of Page
Signed-off-by: Pierre-Louis Bonicoli <pierre-louis.bonicoli@gmx.fr>
2015-07-22 13:47:01 +02:00
Laurent Bachelier
97675879b0 Fall back on WEBOOB_WORKDIR if there is no WEBOOB_DATADIR 2015-07-17 16:39:25 +02:00
Romain Bignon
8d48d0d706 fix crash when ReplApplication.do() is called with a function instead of a backend method name 2015-07-13 15:52:53 +02:00
Romain Bignon
01f5c101a4 that's possible to have several md5sum in the same list 2015-07-12 19:54:01 +02:00
Bezleputh
4f93b7b83e [audio] move specific audio filters from weboob/capabilities/audio.py to weboob/tools/capabilities/audio/audio.py 2015-07-02 16:23:14 +02:00
Bezleputh
b892aafec3 [radioob] add "file" in search subcommand ( does the same as song but an audio file can be a podcast, it is not always a song) 2015-07-02 15:35:35 +02:00
Bezleputh
d020741a4b [audio] add specific filters in order to create audio objects id / browser2 adaptation : do not require an id in constructor 2015-07-02 15:35:34 +02:00
Bezleputh
18d1f50f26 [qcookboob] fix bug when thumbnail_url is empty 2015-06-30 13:59:13 +02:00
Laurent Bachelier
927ac8876d Bump Firefox version to next ESR (38) 2015-06-30 11:28:12 +02:00
Romain Bignon
645fc6e2a9 fix unicode issues 2015-06-22 17:45:03 +02:00
Bezleputh
28d2190d66 manage tty colummns while displaying text 2015-06-19 17:40:04 +02:00
Bezleputh
e93d724ed1 [core] add a datadir option to weboob init and handle WEBOOB_DATADIR 2015-06-19 17:40:04 +02:00
Romain Bignon
05d11e4c36 Revert "manage tty colummns while displaying text"
This reverts commit 5852bd5ef9.
2015-06-10 21:21:07 +02:00
Bezleputh
5852bd5ef9 manage tty colummns while displaying text 2015-06-10 21:13:42 +02:00
Romain Bignon
e3975f38b3 fix compatibility with python2.6 2015-05-24 13:11:32 +02:00
Matthieu Weber
1d67bf360f formatters: use weboob.tools.misc.guess_encoding instead of locale.getpreferredencoding()
Signed-off-by: Matthieu Weber <mweber+weboob@free.fr>
Signed-off-by: Romain Bignon <romain@symlink.me>
2015-05-24 11:57:25 +02:00
Laurent Bachelier
f591dba678 Browser: callback in the same place, async or not 2015-05-14 18:43:03 +02:00
Laurent Bachelier
25da89642a browser: Allow changing the Session class
In a separate method, so arguments can be removed or added.
2015-05-14 18:42:55 +02:00
Laurent Bachelier
b4a428a2c8 browser: Allow more control of the referrer 2015-05-14 18:42:52 +02:00
Laurent Bachelier
7263145869 browser: Add Googlebot profile 2015-05-14 18:41:12 +02:00
Matthieu Weber
95cd12fd22 formatters: use locale.getpreferredencoding() instead of utf-8
Signed-off-by: Matthieu Weber <mweber+weboob@free.fr>
Signed-off-by: Romain Bignon <romain@symlink.me>
2015-05-14 15:07:20 +02:00
Romain Bignon
14fc8ba7e2 add a Javascript class (which uses execjs library) 2015-05-12 09:03:37 +02:00
Romain Bignon
a33d26558b move guess_encoding into weboob.tools.misc 2015-05-09 17:52:16 +02:00
Vincent Paredes
bf389d7045 striping data on csv 2015-05-07 17:23:57 +02:00
smurail
511daa73a1 add a context argument 2015-05-07 14:32:59 +02:00
smurail
3835a0c19c fix error when a name is not found 2015-05-07 14:32:58 +02:00
smurail
dd8bf4fa2f add a way to instantiate an object from a dict of its fields values 2015-05-07 14:32:57 +02:00
smurail
62adf86daa add JSON helpers 2015-05-07 14:32:55 +02:00
Romain Bignon
6d6c49a5e6 remove unused import 2015-05-06 11:25:47 +02:00
smurail
be125cf84f fix issue with GridVirtKeyboard usage while removing overkill optimization 2015-05-06 11:06:21 +02:00
smurail
d38656540e fix issue with encoding 2015-04-28 15:18:24 +02:00
smurail
f653b2f531 parse french date with DMY order by default 2015-04-28 15:18:23 +02:00
Bezleputh
2f0643085e [radioob] radioob can now download full album 2015-04-13 09:42:21 +02:00
Romain Bignon
84ce7b72ec fix wording 2015-04-04 15:46:01 +02:00
Romain Bignon
b110f10c9e if backend name is already taken, suggest the first available one with the same base 2015-04-04 12:52:19 +02:00
Romain Bignon
acb7b4c9e9 update help of "add" command, and improve code 2015-04-04 12:38:49 +02:00
Kitof
7155539965 Add module_name param in add_backend to allow command line interaction 2015-04-04 12:32:57 +02:00
Romain Bignon
7891ce6118 fix crash if dump_state() occurs without a current page 2015-03-25 01:21:28 +01:00
Romain Bignon
6709974d35 shutdown the session async executor to cleanup useless threads 2015-03-24 23:59:39 +01:00
Romain Bignon
195b61fb57 give max_retries to FuturesSession in case it may build HTTPAdaptors 2015-03-24 23:59:05 +01:00
Romain Bignon
a9b86d60a5 if AsyncLoad parameter is None, do not try to open it, and Async returns None
This fixes a bug with LCL for transactions without details
2015-03-24 23:57:21 +01:00
Romain Bignon
e6a80af479 call browser.deinit() if defined 2015-03-24 23:57:05 +01:00
Florent
47fe42135c Browser: move load/dump_state to LoginBrowser
It does not make sens to store a cookie for a non-logged browser.
2015-03-20 22:23:09 +01:00
Florent
b3aabdeeaf Be consistent in enable state: use human readable values 2015-03-17 22:16:15 +01:00
Florent
9208b7bb31 Add 'on' and 'yes' to enabled values
Be consistent with ouiboube core
2015-03-17 22:08:50 +01:00
Bezleputh
bc1746214c [browser] catch HTTPErrors during load_state 2015-03-13 17:45:53 +01:00
Bezleputh
11a63c33ce [filter] improve Join filter
The filter will now act a little bit more like the join command
I also added some parameters that will help formatting (newLine, addBedore, addAfter)
2015-03-13 00:05:36 +01:00
Bezleputh
a3d351eb88 [base] create enum in base and use it in calendar and housing 2015-03-13 00:05:35 +01:00
Bezleputh
a39dff77a5 [Element] create new element : DictElement
use new DictElement in modules
2015-03-13 00:05:35 +01:00
Romain Bignon
be122f0fa6 add 'replace' xpath function 2015-03-12 15:22:42 +01:00