imdb

fetch movie data from API's in javascript

て烟熏妆下的殇ゞ 提交于 2019-12-08 05:38:11
问题 I have a json object of >15k movies containing IMDb ID's like this 0: ObjectID: "1." IdIMDb: "tt2322441" Title: "Fifty Shades of Grey" Year: 2015 1: ObjectID: "2." IdIMDb: "tt1617661" (...) And I'm looking to complete this data with data from other api's Poster, Runtime, Genres, Directors... can be found here http://www.omdbapi.com/?i=tt0111161&plot=short&r=json My question is: what is the most efficient manner to complete my data with data from this api ? I plan to run this program only once

Using AJAX to Extract Data from IMDB API

为君一笑 提交于 2019-12-06 13:54:59
问题 I'm trying to get the year of a film given its title using IMDB's API and then appending the year in parenthesis next to the title. There's some fundamental JS or AJAX thing that I'm screwing up. Any help would be much appreciated! This is my code: jsFiddle HTML <ol> <li>Jaws</li> <li>The Lord of the Rings</li> </ol> jQuery function getYear(title) { $.ajax({ url: "http://www.imdbapi.com/?t=" + title, dataType: 'jsonp', success: function(data){ var year = data.Year; } }); } $("li").each

How to scrape data from imdb business page?

霸气de小男生 提交于 2019-12-06 12:39:49
问题 I am making a project that requires data from imdb business page.I m using python. The data is stored between two tags like this : Budget $220,000,000 (estimated) I want the numeric amount but have not been successful so far. Any suggestions. 回答1: Take a look at Beautiful Soup, its a useful library for scraping. If you take a look at the source, the "Budget" is inside an h4 element, and the value is next in the DOM. This may not be the best example, but it works for your case: import urllib

BadZipFile: File is not a zip by importing keras

烈酒焚心 提交于 2019-12-06 06:08:27
问题 When I run this code, I got the following error. I have tried different techniques to get rid of this problem but couldn't. May I request to someone who can help me to solve this issue. There are some solutions to the same problem but I couldn't get theirs points to fix it. import numpy from keras.datasets import imdb (X_train, y_train), (X_test, y_test) = imdb.load_data() X = numpy.concatenate((X_train, X_test), axis=0) y = numpy.concatenate((y_train, y_test), axis=0) Using Theano backend.

Using AJAX to Extract Data from IMDB API

淺唱寂寞╮ 提交于 2019-12-04 21:57:30
I'm trying to get the year of a film given its title using IMDB's API and then appending the year in parenthesis next to the title. There's some fundamental JS or AJAX thing that I'm screwing up. Any help would be much appreciated! This is my code: jsFiddle HTML <ol> <li>Jaws</li> <li>The Lord of the Rings</li> </ol> jQuery function getYear(title) { $.ajax({ url: "http://www.imdbapi.com/?t=" + title, dataType: 'jsonp', success: function(data){ var year = data.Year; } }); } $("li").each(function() { var text = $(this).text(); getYear(text); $(this).append(" ("+year+")"); }); Your code is

IMDB suggestions

懵懂的女人 提交于 2019-12-04 21:23:56
I'd like to make a kind of homemade algorithm, which from a list of all the movies I have, will return accurate suggestions of movies I haven't seen and I could like. But for that I need to know if IMDBpy can return the "suggestions" part. Indeed, when you search for a movie on the web site, you are given a list of movies matching the kind a movie you searched for. But I can't find an answer on the doc of IMDBpy. Is there a way to get the suggestions with it ? Since get_movie_recommendations doesn't really work as you wish (e.g. it doesn't return anything for 12 Years a Slave), you could

BadZipFile: File is not a zip by importing keras

﹥>﹥吖頭↗ 提交于 2019-12-04 09:50:35
When I run this code, I got the following error . I have tried different techniques to get rid of this problem but couldn't. May I request to someone who can help me to solve this issue. There are some solutions to the same problem but I couldn't get theirs points to fix it. import numpy from keras.datasets import imdb (X_train, y_train), (X_test, y_test) = imdb.load_data() X = numpy.concatenate((X_train, X_test), axis=0) y = numpy.concatenate((y_train, y_test), axis=0) Using Theano backend. BadZipFile /home/maaz/anaconda3/lib/python3.6/zipfile.py in _RealGetContents(self) 1165 raise

Connecting to IMDB

試著忘記壹切 提交于 2019-12-03 03:43:42
问题 Has any one done this before? It would seem to me that there should be a webservice but i can't find one. I am writing an application for personal use that would just show basic info from IMDB. 回答1: There is no webservice available. But there are enough html scrapers written in every language to suit your needs! I've used the .NET 3.5 Imdb Services opensource project in a few personal projects. 1 minute google results: Perl: IMDB-Film Ruby: libimdb-ruby Python: IMDbPY 回答2: The libraries for

Connecting to IMDB

徘徊边缘 提交于 2019-12-02 17:11:13
Has any one done this before? It would seem to me that there should be a webservice but i can't find one. I am writing an application for personal use that would just show basic info from IMDB. Davy Landman There is no webservice available. But there are enough html scrapers written in every language to suit your needs! I've used the .NET 3.5 Imdb Services opensource project in a few personal projects. 1 minute google results: Perl: IMDB-Film Ruby: libimdb-ruby Python: IMDbPY Arical The libraries for IMDb seem quite unreliable at present and highly inefficient. I really wish IMDb would just

Does IMDb provide an api or a data dump to get all title IDs?

ぐ巨炮叔叔 提交于 2019-12-02 16:16:14
IMDB provides plain text files user's can download and use which can be found here: IMDB Plain Text Files which is great but I don't see the ID used for each movie in any of the files. Given IMDB specifically says not to use scrapers, data gatherers etc in their Conditions of Use how would one obtain the title ID http://www.imdb.com/title/ tt1133985 / for each movie if they aren't included in any of the plain text files. I've noticed there are some API's others have built that do include this ID so I'm wondering how did they manage to do that. Lenin Raj Rajasekaran You can use IMDB API located