2

i want to retrieve plot keywords for specific movie id using IMDBPY from IMDb .any idea? i just know that

from imdb import IMDb
ia = IMDb()

# get a movie and print its name
the_matrix = ia.get_movie('0133094')
print(the_matrix)

1 Answers1

5

You need to add one more parameter that's info='keywords' to get the keywords of a movie.

from imdb import IMDb
ia = IMDb()
black_panther = ia.get_movie('1825683', info='keywords')
print(black_panther['keywords'])
Germa Vinsmoke
  • 3,541
  • 4
  • 24
  • 34