Commit graph

5,390 commits

Author SHA1 Message Date
Romain Bignon
afd5bba8a1 fix ignore of "total" lines 2014-05-08 10:20:12 +02:00
Bezleputh
3bf04d6bc0 [googletranslate] fix : site is now only availbe using https 2014-05-07 23:24:32 +02:00
Florent
236b9087a2 Set comp_object as class method 2014-05-07 23:22:28 +02:00
Bezleputh
dddc264a52 [boobcoming] override comp_obj from repl in order to sort by start_date 2014-05-07 18:25:15 +02:00
Bezleputh
7b799a6fbb gather collections having the same path 2014-05-07 18:24:48 +02:00
Bezleputh
b140b3fa09 [boobcoming] improve collection management in boobcoming 2014-05-07 15:25:32 +02:00
Florent
fa845abb69 Documentation of the -d option 2014-05-07 10:21:17 +02:00
Florent
a87ef4072d Use a fast path for ls if -U is set
The ls command first store all objects and collections, and then run the
formatting. It is bad for applications displaying results as soon as
possible, but mandatory to store results and display the collections
first.

Since the -U option was introduced to not sort the results, we can
expand this idea to not display the collections first, and to display
results immediately.
2014-05-07 10:15:07 +02:00
Florent
b6e44e8d22 Remove the "is CapBaseObject" condition
A module has to always return a CapBaseObject, this condition is not
usefull
2014-05-07 09:35:05 +02:00
Laurent Bachelier
132d131f87 Add a json formatter that works on a line level 2014-05-07 00:02:08 +02:00
Bezleputh
297132e200 [francetelevisions] get better video url 2014-05-06 22:32:41 +02:00
Bezleputh
9e40e5b9df [videoob] Use wget instead of avconv 2014-05-06 22:32:41 +02:00
Bezleputh
a02d34827d [newsfeed] Boobmsg crashes if id is None 2014-05-06 22:32:41 +02:00
Bezleputh
8b20ba5f55 [francetelevisions] Use Dict filter 2014-05-06 22:32:41 +02:00
Bezleputh
fadd88dafc [browser2] Add a Dict filter 2014-05-06 22:32:41 +02:00
Florent
9167a60d6c Fix logout (site changed) 2014-05-06 19:41:14 +02:00
Florent
2915a04eba Do not display warning message if -n or count is set
Someone using the count option is already aware of the limitations. The
warning is useless.
2014-05-06 17:05:06 +02:00
Bezleputh
9e72f864b3 [videoob] use aconv to download videos 2014-05-06 15:51:05 +02:00
Bezleputh
8f4d61ecdd [francetelevisions] fill ext field 2014-05-06 15:51:05 +02:00
Romain Bignon
144e98bbaf display html2text missing warning only at first call 2014-05-06 15:35:33 +02:00
Romain Bignon
d07f661cb0 import pkg_resources only when needed, to prevent a hard useless dependency 2014-05-06 15:14:28 +02:00
Bezleputh
9f1314b404 [francetelevisions] fix info command in interactive mode 2014-05-05 16:29:31 +02:00
Bezleputh
b0d3cd7e14 [francetelevisions] fix bug in date parsing 2014-05-05 15:22:52 +02:00
Bezleputh
20bea658f3 [francetelevisions] adapt to browser2 2014-05-05 14:36:00 +02:00
Romain Bignon
711cba9c65 fix compatibility with python2.6 (don't use ThreadPool anymore) 2014-05-01 18:35:11 +02:00
Romain Bignon
07f5500cce rewrite BackendCalls with ThreadPool and queues 2014-05-01 17:04:27 +02:00
Romain Bignon
d1fc1888c6 rewrite with browser2 2014-04-30 08:27:48 +02:00
Romain Bignon
ab710e0f74 support GET forms 2014-04-29 22:00:49 +02:00
Romain Bignon
47d8d5f7bc secret isn't optional anymore 2014-04-29 22:00:12 +02:00
Romain Bignon
237cfb9252 do not override rdate with operation date 2014-04-29 17:19:24 +02:00
Romain Bignon
2256dc841b fix labels parsing 2014-04-29 17:14:22 +02:00
Romain Bignon
f4e5317a0f remove useless method 2014-04-28 18:54:27 +02:00
Romain Bignon
2c81d337eb fix login 2014-04-28 18:46:29 +02:00
Romain Bignon
188220e0c1 get more history on cards 2014-04-26 23:08:44 +02:00
Romain Bignon
3857eec659 fix parsing cards history 2014-04-26 23:03:40 +02:00
Romain Bignon
459b9b9378 set card balance to Account.balance instead of Account.coming 2014-04-26 12:07:23 +02:00
Romain Bignon
8f11fd40bc pyflakes fix 2014-04-26 12:07:22 +02:00
Romain Bignon
61bc712068 Revert "Detect duplicate objects with id "0""
This reverts commit 6cae2cd0a5.
2014-04-26 12:07:22 +02:00
Romain Bignon
73cb61fec7 fix carrefourbanque to use new website (and rewrite it with browser2) 2014-04-26 12:07:22 +02:00
Florent
d6d5d4cebd Set obj_id to None before to return it to the browser 2014-04-24 19:45:28 +02:00
Florent
6cae2cd0a5 Detect duplicate objects with id "0" 2014-04-24 16:18:19 +02:00
Florent
37f0445f44 Add ignore_duplicate to senscritiques 2014-04-24 16:17:13 +02:00
Florent
fe5bfee255 Add ignore_duplicate option for crazy modules 2014-04-24 16:16:50 +02:00
Bezleputh
cdf2996d57 [browther2] Display error message instead of raising DataError when we find the same ids in ListElement 2014-04-23 12:37:36 +02:00
Bezleputh
14fa171503 [groupamaes] add favicon 2014-04-23 12:12:46 +02:00
Bezleputh
2540c9290c [senscritique] fix parsing error when page result body's is empty 2014-04-23 12:12:39 +02:00
Florent
a73daa18f4 Catch ValueError if a gauge is down 2014-04-21 11:53:20 +02:00
Vincent Texier
7a72b94b37 Fix bug dailymotion not playing video with "Server returned 403: Forbidden"
Dailymotion video url send cookies then use a 302 redirect to the real video url
The real video url check the cookies sent in the request.

Some mediaplayer (mplayer) can not handle this.

So we use pure python urllib2 to handle this and load the video.
The video bytes are piped to the mediaplayer.

Others modules might need this.
They just have to set the "_play_proxy" boolean attribute to the video object.

Signed-off-by: Vincent Texier <vit@free.fr>
2014-04-21 09:33:31 +02:00
Florent
ffe1c43300 Fix a03f2b627e "selecting a field in non-interactive mode"
Writing code without coffee introduces a lot of bugs.
2014-04-18 10:44:23 +02:00
Florent
a03f2b627e Fix selecting a field in non-interactive mode
The command:
boobank ing history blabla@ing -f table -s label,amount,date
was bugued, since b770163d9b.

Before to iter the history, boobank uses the get_object method, with fields set to []. The goal is to not use the selected_fields configured by the user.

But the commit b770163d9b added:
"or self.selected_fields"
Since "if []" return false, it cannot works.
2014-04-18 10:24:47 +02:00