Module: IMDB

Defined in:
lib/imdb.rb,
lib/imdb/movie.rb,
lib/imdb/search.rb

Defined Under Namespace

Classes: Movie, Search

Constant Summary collapse

FILES =
%w{search movie}
TITLES_SEARCH_URL =
"http://www.imdb.com/find?s=tt&q="
TITLE_URL =
"http://www.imdb.com/title/"

Class Method Summary collapse

Class Method Details

.str_to_utf8(str) ⇒ Object



15
16
17
# File 'lib/imdb.rb', line 15

def self.str_to_utf8(str)
  Iconv.conv('UTF-8', 'LATIN1', str)
end