IMDbPY is a Python package useful to retrieve and manage the data of the IMDb movie database about movies, people, characters and companies.
Questions tagged [imdbpy]
128 questions
1
vote
1 answer
Adding foreign keys exceptions caught when loading imdb data to mysql using imdbpy
I was trying to load imdb data to mysql database using IMDBPY 5.1.
But I always encounter the following issues in the end. I need to have the complete primary key + foreign key constraints in the schema. Could anyone give me some hints that what…

Mark Jin
- 2,616
- 3
- 25
- 37
1
vote
1 answer
format string via unpacking dict when few keys are missing
I'm trying to execute this code that shows me some IMDB movie ratings:
import json
import sys
import imdb
import sendgrid
NOTIFY_ABOVE_RATING = 7.5
SENDGRID_API_KEY = "API KEY GOES HERE"
def run_checker(scraped_movies):
imdb_conn =…

Lestat
- 71
- 2
- 9
1
vote
1 answer
movie imdb get the id of the actor
I have an actor object, and it has both name and id, i could take the name, but it couldn't take the id
look please
>>> actor
>>> actor["name"]
u'Al Pacino'
>>> actor["id"]
Traceback (most recent call…

Marco Dinatsoli
- 10,322
- 37
- 139
- 253
1
vote
2 answers
get all list movieID in IMDbPY
I want get all movieID in list from IMDbPY. I want to get analyze most popular genre, actor etc in a given year. For example in 2014 find popular film, popular actor, genre etc with scikit-learn or other library. How to get list of movieID?

GoldGshok
- 21
- 1
- 6
1
vote
1 answer
Impossible to retrive the plot outline for films with an "aka"
I need to extract the imdb "plot outline" (storyline) of some movies. For most of them I get it with:
description = movie.get('plot outline')
However it return an empty string for some movies (despite having a storyline when I look at it manually…

Clément Lesaege
- 11
- 1
1
vote
1 answer
imdb_id is NULL for all names and titles
I have downloaded sample dump of imdb (mySQL) from imdbpy as mentioned in the following URL:
http://blog.secaserver.com/2013/08/importing-imdb-sample-data-set-mysql/
After installing all the data, i observed that imdb_id is NULL in title and names…

Vamsi Krishna
- 21
- 3
1
vote
1 answer
imdbpy: do not get full writer list from get_movie['writer']
Checking for the series Firefly http://www.imdb.com/title/tt0303461/.
Given the code:
from imdb import IMDb
parser = IMDb()
parsed = parser.get_movie('0303461')
list_writers = parsed['writer']
The list parsed['writer'] appears to ignore any writers…

bobthepurple
- 11
- 4
1
vote
2 answers
imdbpy rating data missing
i have a question about the imdbpy module for python, for some reason i can't retrieve some data about tv shows even though they exist on the imdb.com website.
for example if i use this code:
from imdb import IMDb
i = IMDb()
s =…

s4my
- 29
- 1
- 9
1
vote
1 answer
IMDbPy with WinPython
I'm trying to get a version of IMDbPy that I can install using the WinPython installer - there are a variety of programs that have been made compatible with, however IMDbPy doesn't have a specific WinPython package.
I've tried to download several…
user5172613
1
vote
1 answer
IMDb HTML Extraction - With Beautiful Soup
With Beautiful Soup4, I'm trying to get some text that doesn't seem to be tagged. (I may be wrong, I'm not very capable with HTML)
I need to extract several values from the IMDb code of the page; the budget value and the latest worldwide gross value…
user5172613
1
vote
1 answer
IMDbPY get_top250_movies() returns empty list
When I try to get the top 250 movies from imdbpy it returns an empty list:
>>> from imdb import IMDb
>>> imdb_instance=IMDb()
>>> top250=imdb_instance.get_top250_movies()
>>> top250
[]
Any idea? The above code should return a list of the top 250…

user3577702
- 31
- 3
1
vote
2 answers
Get list of movies directed by director- IMDbPY
I use the below code to get the director name of a particular movie. How can I get a list of all movies directed by the director.
In this case I chose Interstellar and the Director I get will be Christopher Nolan. So how can I list all the movies…

priyanka
- 25
- 1
- 1
- 8
1
vote
1 answer
Searching movie by title, sql vs http access
My doubt is, when I make a movie search by title in a another different language than English, why the search is more precise if use HTTP access than SQL ?
For example i want to retrieve info about the Movie "El gran Robo" (spanish title) original…

gduarte
- 35
- 5
1
vote
1 answer
Can't install IMDbPY on windows
I'm having trouble installing IMDbPY on my windows computer. I think there is something wrong with my c compiler, because when I try to install it with easy_install or pip it gives me an error along these lines:
C:>easy_install IMDbPY Searching for…

Alex S
- 4,726
- 7
- 39
- 67
1
vote
1 answer
IMDBpy getting screen information
import imdb
ia = imdb.IMDb()
avatar = ia.get_movie("0120667")
ia.update(avatar, 'business')
print avatar['business']
That returns the whole list of gross, aswell as screenings for each country. But how do i get out the screening information…

tsjk
- 43
- 1
- 7