from imdb import IMDb
ia = IMDb()
the_matrix = ia.get_movie('0133093')
print the_matrix['director']
for person in ia.search_person('Mel Gibson'):
print person.personID, person['name']
#NEWS
16 Jun 2012: IMDbPY 4.9 released
With the usual hurry, here it is IMDbPY 4.9.
As you can see, we also have a shiny new web site, courtesy of Alberto Malagoli. Many thanks to him, and we hope you like it!
In this release: an urgent fix for the search queries, some new features like a "gender" field for persons in the database, improved performances restoring imdbIDs and many other fixes.
Changelog for the 4.9
version.
#WHAT'S GOIN' ON
14 Dec 2012: need for help
Once again, IMDb changed a lot of their web pages, especially the search results. We need help from developers to update IMDbPY; see this thread.
16 Jun 2012: celebrating the new release!
Be happy, a shiny new version of IMDbPY is out!
27 May 2012: workaround for imdbpy2sql.py slowness
If you experience some massive slowdown of the imdbpy2sql.py script, especially on Ubuntu 12.04, please try installing SQLAlchemy and adding the "-o sqlalchemy" option to the command line.