user3782154
user3782154

Reputation: 37

how to retrieve plot keywords for specific movie id using imdbpy from imdb

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)

Upvotes: 2

Views: 1673

Answers (1)

Germa Vinsmoke
Germa Vinsmoke

Reputation: 3759

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'])

Upvotes: 5

Related Questions