dat api
This commit is contained in:
parent
6fe8fbaee6
commit
47335c2832
1 changed files with 1 additions and 1 deletions
|
@ -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'
|
||||||
|
|
Reference in a new issue