IMDbPY is a Python package which is used to retrieve and manage the data of the IMDb. In this article we will see how we can search a person with the given name in the IMDb data base, we can do to this with the help of
Syntax : imdb_object.search_person(name)
Argument : It takes string as argument, which is the name of person related to film industry.
Return : It return list, items in list have same or similar name to the searched name.
Below is the implementation
Akshay Kumar Akshay Kumar Akshay Kumar Akshay Kumar Parija Akshay Kumar Saxena Akshay Kumar Pradhan Akshay Kumar Akshay Kumar Patil Lakshay Kumar Akshay Kumar Akshay Kumar Akshay Kumar Akshay Kumar Akshay Kumar Lakshay Kumar Akshay Kumar Ahitan Akshay Kumar Rahi Akshay Kumar Boral Akshaykumar Patil Akshay Kumar Sharma
Another example os searching a person
[Person id:1778703[http] name:_Neil Nitin Mukesh_, Person id:1042471[http] name:_Nitin Mukesh (II)_, Person id:5068738[http] name:_Naman Nitin Mukesh_, Person id:0611482[http] name:_Nitin Mukesh (I)_]
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.
- Python IMDbPY – Retrieving person using person ID
- Python IMDbPY – Person info set
- Python IMDbPY – Default info of Person object
- Python IMDbPY – Getting Person name from searched name
- Python IMDbPY – Getting person ID from searched persons
- Python IMDbPY – Info set to keys of Person object
- Python IMDbPY – Getting birth date of person
- Python IMDbPY - Checking if person is part of movie or not
- Python IMDbPY - Getting birth place of person
- Python IMDbPY - Getting IMDb index of person
- Python IMDbPY - Getting alternate names of person
- Python IMDbPY – Getting role of person in the movie
- Python IMDbPY - Getting image(head-shot) of person
- Python IMDbPY – Person Information in XML format
- Python IMDbPY – Searching a company
- Python IMDbPY - Searching a movie
- Python IMDbPY - Searching keyword
- Python IMDbPY – Searching movies matching with keyword
- Python IMDbPY – Movie info set
- Python IMDbPY – Getting released year of movie from movie object
If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to firstname.lastname@example.org. See your article appearing on the GeeksforGeeks main page and help other Geeks.
Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.