0.0
No commit activity in last 3 years
No release in over 3 years
Grab a random youtube video link from any linux box. Parsable and human readable.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

>= 0.1.0
>= 1.5.0
 Project Readme
RandomYouTube
by Daniel P. Clark

Require's linux with the 'shuf' executable in path and your words dictionary at /usr/share/dict/words

gem install randomyoutube --no-rdoc --no-ri

Description
* Grab 3 words randomly from the system dictionary and pull a youtube video link with those words.

    require 'randomyoutube'
    
    RandomYouTube::human        # One search. Human readable output on success, or failure.
    RandomYouTube::human_must   # Search until success, human readable output.
    RandomYouTube::pretty       # One search. Array on success, nil on failure.
    RandomYouTube::pretty_must  # Search until success, returns array.
    RandomYouTube::raw          # One search. Array on success, nil on failure.
    RandomYouTube::raw_must     # Search until success, returns array.