Python IMDbPY – Company info set

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

filter_none

edit
close

play_arrow

link
brightness_4
code

# 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)

chevron_right


Output :

main

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.

My Personal Notes arrow_drop_up

Check out this Author's contributed articles.

If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to contribute@geeksforgeeks.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.


Article Tags :

Be the First to upvote.


Please write to us at contribute@geeksforgeeks.org to report any issue with the above content.