Friday, October 17, 2025
HomeLanguagesPython IMDbPY – Searching a company

Python IMDbPY – Searching a company

In this article we will see how we can search the company in the IMDb data base, there are many companies related to the film industries like marvel studios, disney etc are present in the IMDb data base.
In order to search the company we will use search_company method. 
 

Syntax : imdb_object.search_company(company_name)
Argument : It takes string as argument.
Return : It returns list of all similar named company. 
 

Below is the implementation. 
 

Python3




# importing the module
import imdb
 
# creating instance of IMDb
ia = imdb.IMDb()
 
# name of the person
company_name = "Marvel Studios"
 
# searching the name of the person
search = ia.search_company(company_name)
 
# printing the result
for i in search:
    print(i)


Output : 
 

Marvel Studios
Barvel Studios
Marvelous 1st Studio
Next Level Studios
Boss Level Studios
Caravel Studios
Land Marvel Animation Studios

Another example: 
 

Python3




# importing the module
import imdb
 
# creating instance of IMDb
ia = imdb.IMDb()
 
# name of the person
company_name = "Alt Bala ji"
 
# searching the name of the person
search = ia.search_company(company_name)
 
# printing the result
print(search)


Output : 
 

[Company id:0642697[http] name:_ALTBalaji [in]_, Company id:0779280[http] name:_ALT Balaji [in]_]

 

Dominic
Dominichttp://wardslaus.com
infosec,malicious & dos attacks generator, boot rom exploit philanthropist , wild hacker , game developer,
RELATED ARTICLES

Most Popular

Dominic
32361 POSTS0 COMMENTS
Milvus
88 POSTS0 COMMENTS
Nango Kala
6728 POSTS0 COMMENTS
Nicole Veronica
11892 POSTS0 COMMENTS
Nokonwaba Nkukhwana
11954 POSTS0 COMMENTS
Shaida Kate Naidoo
6852 POSTS0 COMMENTS
Ted Musemwa
7113 POSTS0 COMMENTS
Thapelo Manthata
6805 POSTS0 COMMENTS
Umr Jansen
6801 POSTS0 COMMENTS