celiao / tmdbsimple

A wrapper for The Movie Database API v3.
GNU General Public License v3.0
582 stars 121 forks source link

poster_path is None even tho a poster exists #87

Closed newadventure079 closed 2 years ago

newadventure079 commented 2 years ago

I recently added a poster to a movie. I re-ran my code but poster_path is still None. Movie is https://www.themoviedb.org/movie/308796

{'adult': False,
 'backdrop_path': None,
 'belongs_to_collection': None,
 'budget': 0,
 'genres': [{'id': 18, 'name': 'Drama'}],
 'homepage': '',
 'id': 308796,
 'imdb_id': 'tt0114772',
 'original_language': 'ja',
 'original_title': '海ほおずき',
 'overview': 'This film is inspired by a true incident involving a Japanese '
             'girl who went missing in Taiwan (and then was found murdered by '
             'a taxi driver) several years ago. Haida, once a famous private '
             'detective, is now down and out and running out of reasons to '
             'live. One day, while engaging in a group volunteer project to '
             "clean up a river, he loses what's left of his will to live and "
             'lets the water carry him away. He ends up rescuing a drowning '
             'man who alters his view of life totally. Soon he gets a job '
             'investigating the mysterious disappearance of a student who sent '
             'her mother a cryptic letter, "Wait a bit, Mother. I\'m sending '
             'my breath. It will arrive soon."',
 'popularity': 0.65,
 'poster_path': None,
 'production_companies': [],
 'production_countries': [{'iso_3166_1': 'JP', 'name': 'Japan'}],
 'release_date': '1995-09-10',
 'revenue': 0,
 'runtime': 138,
 'spoken_languages': [{'english_name': 'Japanese',
                       'iso_639_1': 'ja',
                       'name': '日本語'}],
 'status': 'Released',
 'tagline': '',
 'title': 'The Breath',
 'video': False,
 'vote_average': 5.5,
 'vote_count': 2}
kchomski commented 2 years ago

I just checked and poster_path is set now:

{'adult': False,
 'backdrop_path': None,
 'belongs_to_collection': None,
 'budget': 0,
 'genres': [{'id': 18, 'name': 'Drama'}],
 'homepage': '',
 'id': 308796,
 'imdb_id': 'tt0114772',
 'original_language': 'ja',
 'original_title': '海ほおずき',
 'overview': 'This film is inspired by a true incident involving a Japanese '
             'girl who went missing in Taiwan (and then was found murdered by '
             'a taxi driver) several years ago. Haida, once a famous private '
             'detective, is now down and out and running out of reasons to '
             'live. One day, while engaging in a group volunteer project to '
             "clean up a river, he loses what's left of his will to live and "
             'lets the water carry him away. He ends up rescuing a drowning '
             'man who alters his view of life totally. Soon he gets a job '
             'investigating the mysterious disappearance of a student who sent '
             'her mother a cryptic letter, "Wait a bit, Mother. I\'m sending '
             'my breath. It will arrive soon."',
 'popularity': 0.9,
 'poster_path': '/jnTBwFimG8ftILOYSuiW8KQT0K7.jpg',
 'production_companies': [],
 'production_countries': [{'iso_3166_1': 'JP', 'name': 'Japan'}],
 'release_date': '1995-09-10',
 'revenue': 0,
 'runtime': 138,
 'spoken_languages': [{'english_name': 'Japanese',
                       'iso_639_1': 'ja',
                       'name': '日本語'}],
 'status': 'Released',
 'tagline': '',
 'title': 'The Breath',
 'video': False,
 'vote_average': 5.5,
 'vote_count': 2}

After over 2 weeks since the issue was reported it's hard to say what was the reason. It could be propagation time on the TMDB side or getting cached response on the client side.

celiao commented 2 years ago

@newadventure079 Can this issue be closed?