YTIFL
YouTube: I'm Feeling Lucky. Prints the URL of the first result of a YouTube search for the given terms.
Installation
Installation as Ruby gem:
gem install ytifl
If you use Arch Linux or a derivative, you may also install via the AUR package.
Usage
Usage: ytifl [options] term ...
Print the URL of the first result of a YouTube search for the given terms.
Options:
-h, --help Print this message and exit
--version Print version information and exit
Example
$ ytifl story from north america
https://www.youtube.com/watch?v=ms2klX-puUU
See also
ytool, a general-purpose interface to the YouTube data API.