Sha256: bda0da98294b7bfce2017a5b513f4d1ce8f1417dbb58f94619461894e7cbcd8d

Contents?: true

Size: 276 Bytes

Versions: 5

Compression:

Stored size: 276 Bytes

Contents

module Imdb
  
  # Represents a Movie on IMDB.com
  class Movie < ImdbBase
    
    def trailers
      document.search("a[@href*='/video/screenplay/']").map { |link| "http://akas.imdb.com" + link.get_attribute("href") } rescue []
    end
    
    
  end # Movie
  
end # Imdb

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
imdb_parser-1.0.3 lib/imdb_parser/movie.rb
imdb_parser-0.6.6 lib/imdb_parser/movie.rb
imdb_parser-1.0.2 lib/imdb/movie.rb
imdb_parser-1.0.1 lib/imdb/movie.rb
imdb_parser-1.0.0 lib/imdb/movie.rb