Python 3 IMDbPY Library Script to Search Movie Information Full Project For Beginners

 

 

Installation

 

 

pip install IMDbPY

 

 

 

Searching a Movie

 

 

# importing the module
import imdb

# creating instance of IMDb
ia = imdb.IMDb()

# movie name
name = "3 idiots"

# searchning the movie
search = ia.search_movie(name)

# printing the result
for i in search:
    print(i)

 

 

 

# importing the module
import imdb

# creating instance of IMDb
ia = imdb.IMDb()

# movie name
name = "Tarzan the wonder car"

# searchning the movie
search = ia.search_movie(name)

# printing the result
print(search)

Leave a Reply