Commit graph

66 commits

Author SHA1 Message Date
Romain Bignon
34be0d69d2 always display the 0 line 2010-10-31 14:50:00 +01:00
Romain Bignon
a1a58c7c32 add --logging-file parameter, and color stdout lines depending of level 2010-10-30 16:09:02 +02:00
Romain Bignon
4e4ca43949 fix logging, and add --logging-file parameter 2010-10-30 13:49:21 +02:00
Romain Bignon
8fc7860150 $full and $direct selectors work 2010-10-30 11:24:49 +02:00
Romain Bignon
711f2c73a3 print call errors 2010-10-28 00:05:05 +02:00
Christophe Benz
5b014361af forget \n 2010-10-12 19:43:48 +02:00
Romain Bignon
ad588d5d1d rename -S(--save-responses) to -a 2010-10-01 17:14:36 +02:00
Laurent Bachelier
da55da0d9d Optional global argument to save responses
By adding -S or --save-responses to an application's arguments, every
response will be saved in /tmp/weboob. This is best used with the
-d/--debug option.
It might be interesting to add the headers to the saved response.
2010-09-30 23:28:33 +02:00
Romain Bignon
0ce8b12c32 stop scheduler when an application exits 2010-09-28 11:29:32 +02:00
Laurent Bachelier
79ab361d54 Fix startup error 2010-09-26 20:19:30 +02:00
Romain Bignon
04037e7893 repl: interactive add of backends when no one is loaded at startup 2010-09-25 00:57:54 -04:00
Romain Bignon
aee0e49cc8 -b is handled by BaseApplication 2010-09-24 21:56:49 -04:00
Romain Bignon
0eba4302a5 override complete() to change the behaviour of Cmd completion 2010-09-24 13:56:24 -04:00
Romain Bignon
37a53b783a port every console applications to ReplApplication 2010-09-24 12:58:27 -04:00
Christophe Benz
9e2345eeb9 implement select command 2010-09-21 13:10:52 -04:00
Christophe Benz
ab4a427586 new ReplApplication base class 2010-09-21 13:10:48 -04:00
Romain Bignon
9f5c9aeebc renamed BackendsLoader to ModulesLoader 2010-08-24 11:03:39 +02:00
Romain Bignon
9581fa0b19 all loaded backends are now configured (refs #368) 2010-08-19 22:15:38 +02:00
Romain Bignon
404d7290ba a lot of pyflakes and pylint fixes 2010-08-13 22:23:10 +02:00
Romain Bignon
52cb3ea97c fix 2010-08-13 10:43:22 +02:00
Romain Bignon
3c89ee1f93 fix complete of objects 2010-08-13 09:20:26 +02:00
Romain Bignon
d6f232198a fix when the function isn't a string 2010-08-12 18:17:19 +02:00
Christophe Benz
87f34c1961 set not loaded fields to NotAvailable 2010-08-12 18:17:19 +02:00
Christophe Benz
d81f5dac7a ObjectNotSupported is now an assertion 2010-08-12 16:45:05 +02:00
Christophe Benz
53f6571fee implement max_results option and infinite search for youtube 2010-08-12 16:04:53 +02:00
Christophe Benz
3fcbcc3964 -s '*' fills object 2010-08-11 16:42:07 +02:00
Romain Bignon
9ff2f70284 support deinit 2010-08-03 20:16:57 +02:00
Romain Bignon
cd56abe724 Merge branch 'fillobj'
Conflicts:
	weboob/backends/youjizz/backend.py
	weboob/backends/youporn/backend.py
	weboob/tools/application/console.py
2010-07-20 20:39:48 +02:00
Romain Bignon
1398c0f7d1 improvement of the fillobj 2010-07-20 20:37:37 +02:00
Romain Bignon
0435cd7411 comments 2010-07-12 23:53:37 +02:00
Christophe Benz
ce8c424f12 do not check for backend names, it can be instance names 2010-07-12 23:36:08 +02:00
Christophe Benz
5c2ab81e16 change vocabulary
s/module/backend
s/backend/configured_backend
s/frontend/application
2010-07-12 03:07:10 +02:00
Christophe Benz
742b0ad62b remove unnecessary comments 2010-07-11 02:52:12 +02:00
Christophe Benz
3a9c45c387 display full path for file in log format 2010-07-10 21:55:09 +02:00
Christophe Benz
de3b3880c1 test if requested backends before iterating 2010-07-10 03:28:35 +02:00
Christophe Benz
11475c8325 inform user about backend not found 2010-07-10 02:29:21 +02:00
Christophe Benz
4caa9abd29 rename engine to ouiboube 2010-07-07 18:08:35 +02:00
Christophe Benz
1955d1be59 move core files to weboob.core 2010-07-07 17:20:16 +02:00
Romain Bignon
be9f3f60e4 storage is also used by frontends 2010-07-03 14:51:49 +02:00
Christophe Benz
470f2a9fe2 use real comments for licence header 2010-06-22 16:27:33 +02:00
Romain Bignon
d05b828bd4 remove the useless 'app_name' parameter from the Weboob class 2010-06-08 22:44:12 +02:00
Christophe Benz
fad7d2d56c add ability to add application specific options 2010-05-21 19:18:46 +02:00
Christophe Benz
eb2c25758d return loaded backends / modules 2010-05-14 19:01:16 +02:00
Christophe Benz
73ffa6c6f1 Results API 2010-05-05 19:03:38 +02:00
Romain Bignon
1103e7f79b sometimes sys.stdin.encoding is None 2010-04-30 14:02:59 +02:00
Romain Bignon
926a25b992 Merge branch 'threads'
Conflicts:
	weboob/frontends/videoob/application.py
2010-04-29 11:10:19 +02:00
Romain Bignon
7c502ca236 use Weboob.do insteal of deprecated iter_backends in some frontends 2010-04-27 01:37:26 +02:00
Christophe Benz
bfc2258669 decode sys.argv 2010-04-26 19:22:24 +02:00
Romain Bignon
3b0db70c64 do not call the deprecated attribute Exception.message 2010-04-24 17:07:55 +02:00
Christophe Benz
66a460bb60 oops missing method 2010-04-23 14:53:21 +02:00