Class: Imdb::Search

Inherits:
Object
  • Object
show all
Defined in:
lib/movie-renamer/imdb.rb

Class Method Summary collapse

Class Method Details

.query(query) ⇒ Object



6
7
8
# File 'lib/movie-renamer/imdb.rb', line 6

def query(query)
    open("http://www.imdb.#{$language}/find?q=#{CGI::escape(query)};s=tt")
end