Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot get Awards #465

Open
nilkrdg opened this issue Jun 16, 2023 · 3 comments
Open

Cannot get Awards #465

nilkrdg opened this issue Jun 16, 2023 · 3 comments

Comments

@nilkrdg
Copy link

nilkrdg commented Jun 16, 2023

Awards is empty

The awards list is always empty

Cinemagoer version: 2023.5.1
MacOS 13.2.1
Python 3.11.2

Steps to reproduce the issue

The following test_movie_awards test fails and the awards list is always empty. I have tried it for a couple of other movies and the result is the same. (For example: '0120737')
`
from imdb import Cinemagoer
ia = Cinemagoer()

def test_movie_awards(ia):
movie = ia.get_movie('0133093', info=['awards'])
awards = movie.get('awards', [])
assert len(awards) > 80

test_movie_awards(ia)
`

@fiveobjects
Copy link

fiveobjects commented Jul 16, 2023

I am also not getting awards for movies in cinemagoer-2023.5.1 version. I have tried for a couple of movies. Earlier awards were coming, but now it's completely missing.

from imdb import Cinemagoer
movie = ia.get_movie("10280296", info=("awards"))
print(movie["awards"])

@vrivoire
Copy link

vrivoire commented Oct 18, 2023

Hi,

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

0034583 = Casablanca
`
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

Regards

@matevaradain
Copy link

Same here

movie_title = "Oppenheimer"
from imdb import Cinemagoer
ia = Cinemagoer()
res = ia._search_movie(movie_title, results=True)
movie_ID = res[0][0]
ia.get_movie_awards(movie_ID)

returns an empty dictionary

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants