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
},
``
فیلم و نمایش تلویزیونی را نمیتوانید پیدا کنید؟ به سیستم وارد شوید تا آن را ایجاد کنید.
آیا میخواهید به این مورد امتیاز دهید یا به فهرست اضافه کنید؟
عضو نیستید؟
پاسخ توسط Travis Bell
در تاریخ مارس 8, 2024 ساعت 7:12 ب.ض
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
:پاسخ توسط stevezau
در تاریخ مارس 8, 2024 ساعت 7:40 ب.ض
ah, got it. Thanks