I am seeing some unusual behaviour in the search movie api. When searching for Dune for example using
https://api.themoviedb.org/3/search/movie?query=Dune&include_adult=false&language=en-US&page=1®ion=US&year=2021
The first results return's the below. You'll see the release_date is 2024 when it should be 2021. If i query that movie id directly it returns the correct year?
Is this a bug?
{
"adult": false,
"backdrop_path": "/lzWHmYdfeFiMIY4JaMmtR7GEli3.jpg",
"genre_ids": [
878,
12
],
"id": 438631,
"original_language": "en",
"original_title": "Dune",
"overview": "Paul Atreides, a brilliant and gifted young man born into a great destiny beyond his understanding, must travel to the most dangerous planet in the universe to ensure the future of his family and his people. As malevolent forces explode into conflict over the planet's exclusive supply of the most precious resource in existence-a commodity capable of unlocking humanity's greatest potential-only those who can conquer their fear will survive.",
"popularity": 738.715,
"poster_path": "/d5NXSklXo0qyIYkgV94XAgMIckC.jpg",
"release_date": "2024-02-09",
"title": "Dune",
"video": false,
"vote_average": 7.789,
"vote_count": 10547
},
``
Nu găsiți un film sau un serial? Autentificați-vă pentru a-l crea.
Doriți să evaluați sau să adăugați acest articol într-o listă?
Nu sunteți membru?
Răspuns de Travis Bell
pe data de 8 martie 2024 la ora 7:12 PM
It is not a bug.
You can see here, there is are multiple 2024 release dates.
If you don't want to search all release years (which is what
year
is doing) switch toprimary_release_year
:Răspuns de stevezau
pe data de 8 martie 2024 la ora 7:40 PM
ah, got it. Thanks