With Python and Cinemagoer / imdbpy, the awards is always empty

142 views Asked by At

New to Cinemagoer / imdbpy and trying how it works but the 'awards' is always None and/or empty. Did I missed something?

0034583 = Casablanca

Regards

from imdb import Cinemagoer
ia = Cinemagoer()
movie = ia.get_movie(34583, info=['main', 'awards'])
print(f"movie['title']: {movie['title']}, movie.get('awards'): {movie.get('awards')}, ia.get_movie_awards(movie.movieID): {ia.get_movie_awards(movie.movieID)}")

>>> result:
movie['title']: Casablanca, movie.get('awards'): None, ia.get_movie_awards(movie.movieID): {'data': {}, 'titlesRefs': {}, 'namesRefs': {}}

The result is : Won 3 Oscars 14 wins & 10 nominations total https://www.imdb.com/title/tt0034583/awards

0

There are 0 answers