Python IMDbPY – Movie info set
IMDb data base have every information of the movie i.e when movie released, rating, locations 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_movie
method. In order to get information set of IMDb data set we will use get_movie_infoset
method.
Syntax : imdb_object.get_movie_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 movie info set of data base info = ia.get_movie_infoset() # printing the list for element in info: print (element) |
Output :
airing akas alternate versions awards connections crazy credits critic reviews episodes external reviews external sites faqs full credits goofs keywords locations main misc sites news official sites parents guide photo sites plot quotes release dates release info reviews sound clips soundtrack synopsis taglines technical trivia tv schedule video clips vote details