moved to https connection to the omdbapi
This commit is contained in:
parent
a66fb820cb
commit
d294af0fd2
1 changed files with 1 additions and 1 deletions
|
|
@ -280,7 +280,7 @@ function update_top_movies(start_year, end_year)
|
||||||
tm = JSON.parse(top_movies.responseJSON)
|
tm = JSON.parse(top_movies.responseJSON)
|
||||||
h = ''
|
h = ''
|
||||||
for (title in tm['gross']) {
|
for (title in tm['gross']) {
|
||||||
var info = $.get('http://www.omdbapi.com/?t=' + title + '&apikey=90424a9e')
|
var info = $.get('https://www.omdbapi.com/?t=' + title + '&apikey=90424a9e')
|
||||||
promises.push(info)
|
promises.push(info)
|
||||||
}
|
}
|
||||||
$.when.apply(null, promises).done(function(){
|
$.when.apply(null, promises).done(function(){
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue