In this article we will see how we can get the list of movies in which actor has performed i.e an actor performs in various movies. IMDb has a database of almst every movie performed by verified actors.
In order to get the list of all the movies performed by the actor we have to get the details of filmography of the actor
Syntax : results = ia.get_person_filmography(ID)
iais the IMDb object
Argument : It takes Id as argument
Return : It returns dictionary
This method returns the complicated dictionary which is hard to read in order to get the titles of the movie we use
Below is the implementation
Shahid Kapoor Jersey Hindi Remake Sachet Tandon: Bekhayali Kabir Singh The Insider's Watchlist Akhil Sachdeva & Tulsi Kumar: Tera Ban Jaunga
Rodney Dangerfield Angels with Angles Still Standing Back by Midnight Phil of the Future The Electric Piper
Attention geek! Strengthen your foundations with the Python Programming Foundation Course and learn the basics.
To begin with, your interview preparations Enhance your Data Structures concepts with the Python DS Course.