%t video title %i video id %h video host id %s video file suffix
Note that all occurences of the specifier will be replaced. See also "--output-file".
Note that the syntax supports both ``i'' (case-insensitive) and ``g'' (global or find all).
You can use the following delimiters:
<> {} () /
Please make a note that, cclive currently considers:
s/old/new/ Invalid s/old//new/ OK
%f full path to the downloaded video file
Note that all occurences of the specifier will be replaced.
"Pass a long. It should contain the maximum time in seconds that
you allow the connection to the server to take.
This only limits the connection phase, once it has connected,
this option is of no more use. Set to zero to disable connection
timeout (it will then only timeout on the system's internal
timeouts). See also the CURLOPT_TIMEOUT option."
-- C<curl_easy_setopt(3)>
"Pass a long as parameter containing the maximum time in seconds
that you allow the libcurl transfer operation to take.
Normally, name lookups can take a considerable time and limiting
operations to less than a few minutes risk aborting perfectly
normal operations. This option will cause curl to use the
SIGALRM to enable time-outing system calls."
-- C<curl_easy_setopt(3)>
"Pass a long, this sets the timeout in seconds. Name resolves will be kept in memory for this number of seconds. Set to zero to completely disable caching, or set to -1 to make the cached entries remain forever. By default, libcurl caches this info for 60 seconds. The name resolve functions of various libc implementations don't re-read name server information unless explicitly told so (for example, by calling C<res_init(3)>). This may cause libcurl to keep using the older server even if DHCP has updated the server info, and this may look like a DNS cache issue to the casual libcurl-app user." -- C<curl_easy_setopt(3)>
You can also feed cclive several URLs on one go, either by adding each on the command line (arg1, arg2, ...) or by redirecting them, for example, from a file. Each URL must be separated with a newline (or a whitespace).
Consider the following example:
cat >> urls.lst http://www.youtube.com/watch?v=DUM1284TqFc http://www.youtube.com/watch?v=TqgTz8ymZl8 (ctrl+d) cclive < urls.lst
You can use ``g'' for global (find all), e.g. if you wanted to replace all of the ``Alice'' occurences with ``Malice'', you could use ``s{Alice}<Malice>g''.
filename-format = %h_%i_(%t).%s regexp = /(\w|\pL)/g exec = /usr/bin/vlc %f proxy = http://foo:1234 throttle = 10 connect-timeout = 120
Note that you can use "--config-file" to specify the file.
Thanks to all those who have contributed to the project by sending patches, reporting bugs and writing feedback. You know who you are.