imdb

Adjusting Axis in Matplotlib

浪子不回头ぞ 提交于 2020-01-06 04:27:09
问题 When creating my graph using Matplotlib, I have coded it to automatically size the axis as follows: plt.axis([(int(yearofreleaselist[oldestfilm])-1), (int(yearofreleaselist[0]))+1, 0, (max(profits))+50000000]) However, dealing with large figures, the profits only displays a single digit with various shorthand references, as seen on this example graph: The year of release also doesn't plot correctly, but some results are displayed properly, as seen here: I'm wondering how to fix this so the

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

IMDB API to retrieve character information [closed]

蹲街弑〆低调 提交于 2019-12-24 00:35:59
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed last year . Is there an IMDB API to retrieve character information ? Assuming I know the exact name of the character ? 回答1: There are two public, undocumented api's that may change at any time since they are undocumented and unsupported One of them gives you some json with some relevant information for an actor: http://www

Remote images displaying only sometimes

不羁的心 提交于 2019-12-20 03:19:26
问题 I maintain a local intranet site that among other things, displays movie poster images from IMDB.com. Until recently, I simply had a perl script download the images I needed and save them to the local server. But that became a HUGE space-hog, so I thought I could simply point my site directly to IMDB servers, since my traffic is very minimal. The result was that some images would display, while others wouldn't. And images that were displayed, would sometimes disappear after a few refreshes.

Given an IMDB movie id, how do I programmatically get its poster image?

筅森魡賤 提交于 2019-12-17 17:46:07
问题 movie id tt0438097 can be found at http://www.imdb.com/title/tt0438097/ What's the url for its poster image? 回答1: As I'm sure you know, the actual url for that image is http://ia.media-imdb.com/images/M/MV5BMTI0MDcxMzE3OF5BMl5BanBnXkFtZTcwODc3OTYzMQ@@._V1._SX100_SY133_.jpg You're going to be hard pressed to figure out how it's generated though and they don't seem to have a publicly available API. Screenscraping is probably your best bet. The picture seems to generally be inside a div with

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',

pandas: How to plot the pie diagram for the movie counts versus genre of IMDB movies in pandas?

泄露秘密 提交于 2019-12-10 20:13:43
问题 I have the following dataset: import pandas as pd import numpy as np %matplotlib inline df = pd.DataFrame({'movie' : ['A', 'B','C','D'], 'genres': ['Science Fiction|Romance|Family', 'Action|Romance', 'Family|Drama','Mystery|Science Fiction|Drama']}, index=range(4)) df My attempt # Parse unique genre from all the movies gen = [] for g in df['genres']: gg = g.split('|') gen = gen + gg gen = list(set(gen)) print(gen) df['genres'].value_counts().plot(kind='pie') I got this image: But I would like

Can I retrieve IMDb's movie recommendations for a given movie using IMDbPY?

喜欢而已 提交于 2019-12-09 14:58:32
问题 I'm using IMDbPY to retrieve all kinds of data about movies. For example, if I have a movie object of "Pulp Fiction (1994)" then I can get the name of its (first) director like this: >>> pulp_fiction['director'][0]['name'] u'Quentin Tarantino' Or the name of the third actor: >>> pulp_fiction['cast'][2]['name'] u'Samuel L. Jackson' In ways similar to this I can retrieve all kinds of information for a given movie (budget, length, storyline, list of goofs, trivia, etc). The piece of information