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
},
``
Nevari atrast filmu vai TV pārraidi? Jāpiesakās, lai to izveidotu.
Vēlies novērtēt šo vienumu vai pievienot to sarakstam?
Neesi dalībnieks?
Atbilde no Travis Bell
on marts 8, 2024 at 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
:Atbilde no stevezau
on marts 8, 2024 at 7:40 PM
ah, got it. Thanks