Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

List of all movie title, actors, directors, writers on Imdb

Tags:

imdb

movie

imdbpy

I am working on a web app which lets users tell their favourite movies, directors, movie- writers, and actors. For this I want to provide them a dropdown list or auto complete for each of them so that they can just pick their choices.

For this: I need a list of all movie titles, actors, directors, writers present on Imdb.

I checked Imdbpy and it does not seem to provide methods to get this data.

Would using imdbpy2sql.py to create a database and using sql to query the db, provide the required data? Is there any other way to do this?

Thanks!

like image 954
shreyj Avatar asked Nov 11 '12 14:11

shreyj


2 Answers

Using imdbpy2sql.py to create a database and using SQL to query the db, will provide you the required data.

You can also try using Java Movie Database or imdbdumpimport to read in the text files to SQL.

The last option to do this is parsing the plain text files provided by IMDb yourself.

like image 57
Gfy Avatar answered Oct 03 '22 21:10

Gfy


I think your best option is to parse the plain text files distributed here: imdb interfaces. You probably just need the 'movies', 'actors', 'actresses' and 'director' file; they are quite easy to parse.

like image 29
Davide Alberani Avatar answered Oct 03 '22 21:10

Davide Alberani