Open In App

Python IMDbPY – Company info set

Improve
Improve
Improve
Like Article
Like
Save Article
Save
Share
Report issue
Report

IMDb data base have every information of the movies and companies i.e person having what date it was build what movies it has made etc but in order to retrieve them problem occur as there will be lots of web pages which can be both time-and bandwidth-consuming, especially if you’re interested in only a small part of the information.

If we want to fetch only specific information we can fetch it by passing an optional information parameter to the get_person
method. In order to get information set of IMDb Person data set we will use get_movie_infoset method.

Syntax : imdb_object.get_company_infoset()

Argument : It takes no argument.

Return : It return list.

Below is the implementation




# importing the module
import imdb
   
# creating instance of IMDb
ia = imdb.IMDb()
   
# getting the company info set of data base
info = ia.get_company_infoset()
   
# printing the list 
for element in info:
    print(element)


Output :

main

Last Updated : 22 Apr, 2020
Like Article
Save Article
Previous
Next
Share your thoughts in the comments
Similar Reads