Subscribe Us

Header Ads

How to movie release Year Info Using Python | python projects | imdb |

 Hey guys in this video i am gonna tell you how you can get release year of movie using python...




Source Code..

#required module-pip install imdbpy

import imdb

#initializing in movie variable
movie = imdb.IMDb()

#Passing the movie name
movie_name="dil bechara"

#Searching all movies
search = movie.search_movie(movie_name)

#Scrapping first index movie year
year = search[0]['year']

#printing movie name with year
print(f"{movie_name} : {year}")


Post a Comment

0 Comments