grake - Youtube video link scanner
grake [-q] [-i] [--csv | --json] [--proxy <addr> | --no-proxy]
[<url>...]
grake is a command line tool for scanning webpages for Youtube video links.
grake prints the found URLs to the standard output, each URL
separated with a newline. It can be used to select the items by using the
"--interactive" prompt.
- --help
- Print help and exit.
- --version
- Print version and exit.
- -q, --quiet
- Be quiet.
- -i, --interactive
- Open the interactive prompt which can be used to select the items. grake
selects all items by default. See also "INTERACTIVE
PROMPT".
- --json
- Print details in JSON. Negates
"--csv".
- --csv
- Print details in CSV.
- --proxy arg
- Use arg for HTTP proxy, e.g. "http://foo:1234". Overrides
the http_proxy environment setting.
- --no-proxy
- Disable use of HTTP proxy. Overrides both
"--proxy" and http_proxy environment
settings.
Use the "--interactive" switch to open the
prompt. Note that grake uses (as of 0.1.0) the Umph::Prompt module for this.
Once the prompt opens, type "help" to get a list of commands
available to the prompt.
- grake "http://youtube.com"
- Typical use.
- grake --json "http://youtube.com"
- Same but print details in JSON.
- grake "http://youtube.com" | cclive
- Download the found videos with cclive(1).
Exits 0 on success, otherwise >0;
- $HOME/.grakerc, for example:
- echo "--title" >> ~/.grakerc
- http_proxy
- grake depends on LWP::UserAgent which reads the http_proxy environment
setting.
env http_proxy=http://foo:1234 grake URL
<http://grake.googlecode.com/>
<http://repo.or.cz/w/grake.git>
Toni Gundogdu <legatvs at sign cpan org>