Weboob 0.h released

This commit is contained in:
Florent 2014-01-08 23:39:45 +01:00
commit 0414bed4de
42 changed files with 3146 additions and 195 deletions

View file

@ -1,5 +1,5 @@
.\" -*- coding: utf-8 -*-
.TH VIDEOOB 1 "03 August 2013" "videoob 0\&.g"
.TH VIDEOOB 1 "08 January 2014" "videoob 0\&.h"
.SH NAME
videoob \- search and play videos
.SH SYNOPSIS
@ -31,12 +31,14 @@ Console application allowing to search for videos on various websites, play and
.br
* gdcvault (Game Developers Conferences Vault video streaming website)
.br
* grooveshark (grooveshark website)
.br
* ina (INA French TV video archives)
.br
* jacquieetmichel (Jacquie et Michel TV)
.br
* nolifetv (NolifeTV French video streaming website)
.br
* quvi (Multi\-website video helper with quvi. Handles Youtube, BBC, and a lot more)
.br
* radiofrance (Radios of Radio France: Inter, Info, Bleu, Culture, Musique, FIP, Le Mouv')
.br
* trictractv (TricTrac.tv video website)
@ -70,6 +72,14 @@ If no argument is given, print the current behavior.
.br
Play a video with a found player.
.TP
\fBplaylist\fR cmd [args]playlist add ID [ID2 ID3 ...]
.br
playlist remove ID [ID2 ID3 ...]
.br
playlist export [FILENAME]
.br
playlist display
.TP
\fBsearch\fR \fIPATTERN\fR
.br
Search for videos matching a PATTERN.
@ -115,7 +125,7 @@ Follow a path.
.TP
\fBcondition\fR [\fIEXPRESSION\fR | off]
.br
If an argument is given, set the condition expression used to filter the results.
If an argument is given, set the condition expression used to filter the results. See CONDITION section for more details and the expression.
.br
If the "off" value is given, conditional filtering is disabled.
.br
@ -181,11 +191,17 @@ Availables: debug, info, warning, error.
.br
* default is an alias for warning
.TP
\fBls\fR [\-d] [\fIPATH\fR]
\fBls\fR [\-d] [\-\fIU\fR] [\fIPATH\fR]
.br
List objects in current path.
.br
If an argument is given, list the specified path.
.br
Use \-U option to not sort results.
.br
.br
Default is limited to 40 results.
.TP
\fBquit\fR
.br
@ -240,7 +256,8 @@ save every response
.SH RESULTS OPTIONS
.TP
\fB\-c CONDITION\fR, \fB\-\-condition=CONDITION\fR
filter result items to display given a boolean expression
filter result items to display given a boolean expression. See CONDITION section
for the syntax
.TP
\fB\-n COUNT\fR, \fB\-\-count=COUNT\fR
limit number of results (from each backends)
@ -263,6 +280,51 @@ do not display item keys
\fB\-O OUTFILE\fR, \fB\-\-outfile=OUTFILE\fR
file to export result
.SH CONDITION
The -c and --condition is a flexible way to sort and get only interesting results. It supports conditions on numerical values, dates, and strings. Dates are given in YYYY-MM-DD format.
The syntax of one expression is "\fBfield operator value\fR". The field to test is always the left member of the expression.
.LP
The field is a member of the objects returned by the command. For example, a bank account has "balance", "coming" or "label" fields.
.SS The following operators are supported:
.TP
=
Test if object.field is equal to the value.
.TP
!=
Test if object.field is not equal to the value.
.TP
>
Test if object.field is greater than the value. If object.field is date, return true if value is before that object.field.
.TP
<
Test if object.field is less than the value. If object.field is date, return true if value is after that object.field.
.TP
|
This operator is available only for string fields. It works like the Unix standard \fBgrep\fR command, and returns True if the pattern specified in the value is in object.field.
.SS Expression combination
You can make a expression combinations with the keywords \fB" AND "\fR and \fB" OR "\fR.
.SS Examples:
.nf
.B boobank ls \-\-condition 'label=Livret A'
.fi
Display only the "Livret A" account.
.PP
.nf
.B boobank ls \-\-condition 'balance>10000'
.fi
Display accounts with a lot of money.
.PP
.nf
.B boobank history account@backend \-\-condition 'label|rewe'
.fi
Get transactions containing "rewe".
.PP
.nf
.B boobank history account@backend \-\-condition 'date>2013-12-01 AND date<2013-12-09'
.fi
Get transactions betweens the 2th December and 8th December 2013.
.SH COPYRIGHT
Copyright(C) 2010-2011 Christophe Benz, Romain Bignon, John Obbele
.LP