imdbpy

Getting movie ID from filmography in IMDbPy results

别来无恙 提交于 2021-02-08 15:14:44
问题 I'm trying to create a dataset that allows me to join actors and movies based on actor IDs and movie IDs from the Python IMDb API. Right now, I am trying to extract a list of movie IDs from an actor's filmography and cannot do it. For example, I know the ID for Rodney Dangerfield on IMDb is 0001098. I can see his whole filmography with: from imdb import IMDb ia = IMDb() actor_results = ia.get_person_filmography('0001098') which returns a large dictionary. I can see the most recent movie where

Getting movie ID from filmography in IMDbPy results

只谈情不闲聊 提交于 2021-02-08 15:13:46
问题 I'm trying to create a dataset that allows me to join actors and movies based on actor IDs and movie IDs from the Python IMDb API. Right now, I am trying to extract a list of movie IDs from an actor's filmography and cannot do it. For example, I know the ID for Rodney Dangerfield on IMDb is 0001098. I can see his whole filmography with: from imdb import IMDb ia = IMDb() actor_results = ia.get_person_filmography('0001098') which returns a large dictionary. I can see the most recent movie where

Is there a way to extract IMDb reviews using IMDbPY?

醉酒当歌 提交于 2021-01-01 07:21:15
问题 I do not need the data-set, that's available in Kaggle . I want to extract a movie review from IMDb using IMDbPY or any other scraping method . https://imdbpy.github.io/ 回答1: While it is not obvious from the imdbpy docs. You can always check the attributes of variable by checking the keys of the variables. Not all information that you are looking for is not immediately available when you scrape a movie using imdbpy. In your case you want to get the reviews. So you have to add them. We can see

Is there a way to extract IMDb reviews using IMDbPY?

十年热恋 提交于 2021-01-01 07:21:07
问题 I do not need the data-set, that's available in Kaggle . I want to extract a movie review from IMDb using IMDbPY or any other scraping method . https://imdbpy.github.io/ 回答1: While it is not obvious from the imdbpy docs. You can always check the attributes of variable by checking the keys of the variables. Not all information that you are looking for is not immediately available when you scrape a movie using imdbpy. In your case you want to get the reviews. So you have to add them. We can see

mysql missing soundtrack information after running imdbpy2sql.py

我与影子孤独终老i 提交于 2020-01-06 15:18:26
问题 I am referencing this stackoverflow answer. https://stackoverflow.com/a/20948609/4891914 I can't comment on it because my reputation isn't above 50. I used the exact code but get this error: Traceback (most recent call last): File "search.py, line 47, in <module> print inglorious['soundtrack'] File "/usr/local/lib/python2.7/dist-packages/imdb/utils.py", line 1469, in __getitem__ rawData = self.data[key] KeyError: 'soundtrack' I also tried this variant: from imdb import IMDb ia = IMDb('sql',

IMDB suggestions

拟墨画扇 提交于 2020-01-01 19:58:14
问题 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 ? 回答1: Since get_movie

does imdbpy2sql.py export soundtracks to mysql?

≡放荡痞女 提交于 2019-12-25 09:25:51
问题 I downloaded all data from imdb.org/interfaces and fed that to imdbpy2sql.py. The script sucessfully imports all movies, actors, etc. But it does not create tables for soundtracks (trivia, crazy-credits, etc.) Is the script designed to import soundtracks at all? These are the tables that are created and populated... Am I missing something? aka_name aka_title cast_info char_name company_name company_type complete_cast comp_cast_type info_type keyword kind_type link_type movie_companies movie

Keras Error when checking : expected embedding_1_input to have shape (None, 100) but got array with shape (1, 3)

南笙酒味 提交于 2019-12-22 08:26:55
问题 I created LSTM model using imdb example and tried to predict sentiment in my own string max_features = 20000 # cut texts after this number of words # (among top max_features most common words) maxlen = 100 batch_size = 32 wordsA = "I like this review" wordIndexes = imdb.get_word_index() wordArray = wordsA.split() intArray = [] for word in wordArray: if word in wordIndexes: intArray.append(wordIndexes[word]) testArray = np.array([intArray]) print('Shape: '+str(testArray.shape)) model = load

get the company info for a movie from IMDB using IMDBPY

梦想与她 提交于 2019-12-12 02:59:42
问题 I am trying to get the movie info, specifically I am interested in finding the company info (i.e. which company has made the movie). I am using IMDBPY package in python but I am cannot find the info about the company. I am wondering if anyone was able to retrieve the company info for a specific movie from IMDB. In the API description, it is stated that the company info is also available but I cannot find it. Only I can see this info and there is nothing about the company. Title: Genres:

getting recent movie data from IMDB using IMDBPY

蓝咒 提交于 2019-12-11 15:01:20
问题 I cannot find a way to get detailed data about movies released in 2018, while all works fine for older movies. I use default 'http' access (as described here: https://imdbpy.sourceforge.io/docs/README.package.txt) How to get access to updated data??? Let's say i want to see details about Aquaman which is released winter 2018: >>> aq = ia.search_movie('Aquaman') >>> aq = aq[0] >>> print(aq.keys()) ['title', 'kind', 'year', 'canonical title', 'long imdb title', 'long imdb canonical title',