-
Notifications
You must be signed in to change notification settings - Fork 0
tigris/imdb
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
== Usage A simple ruby library to scrape IMDB require 'Imdb' movie = Imdb.find(1099212) puts "IMDB ID: #{movie.id}" puts "Title: #{movie.title}" puts "Rating: #{movie.rating}" puts "Release Date: #{movie.release_date}" puts "Tagline: #{movie.tagline}" puts "Plot: #{movie.plot}" movie.directors.each do |director| puts "Director: #{director.name}" end movie.writers.each do |writer| puts "Writer: #{writer.name}" end movie.genres.each do |genre| puts "Genre: #{genre}" end puts "Poster URL: #{movie.poster_url}" Thanks to 'maddox' for the jump start via http://github.com/maddox == Development The tests require thoughtbot-shoulda to run. Needs some gem specs and RDOC, i'm lazy.
About
Basic IMDB scaper
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published