dat api
This commit is contained in:
parent
6fe8fbaee6
commit
47335c2832
|
@ -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'
|
||||
|
|
Reference in a new issue