Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

library for retrieving trailer movies

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 lib
Octocat-spinner-32 test
Octocat-spinner-32 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
Something went wrong with that request. Please try again.