library for retrieving trailer movies
Ruby
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
test
README

README

trailers is a library that returns trailer videos given a movie name

require 'trailers'

source = SmartTrailerSource.new
trailer = source.find_by_name(ARGV[0])
puts "#{trailer.url}, #{trailer.source}" if trailer