This commit is contained in:
Luke Rogers 2012-10-06 16:24:34 +13:00
parent 6fe8fbaee6
commit 47335c2832

View file

@ -7,7 +7,7 @@ from util import hook, http
def imdb(inp):
"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':
return 'movie not found'