imdbapi.com moved to omdbapi.com, so that's fixed.

This commit is contained in:
Lasse Vang Gravesen 2012-09-19 18:22:48 +02:00
parent 12cd3521e5
commit 2b321a932e
1 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,7 @@ from util import hook, http
def imdb(inp): def imdb(inp):
'''.imdb <movie> -- gets information about <movie> from IMDb''' '''.imdb <movie> -- gets information about <movie> from IMDb'''
content = http.get_json("http://www.imdbapi.com/", t=inp) content = http.get_json("http://www.omdbapi.com/", t=inp)
if content['Response'] == 'Movie Not Found': if content['Response'] == 'Movie Not Found':
return 'movie not found' return 'movie not found'