Hi all, i am not able to undestand why the "search movie" function is not checking the years. I have a search like this: query: "Halloween" year: "2018" 'https://api.themoviedb.org/3/search/movie?query=Halloween&include_adult=false&year=2018'
I am getting this result: "id": 948, "original_language": "en", "original_title": "Halloween", "overview": "Fifteen years after murdering his sister on Halloween Night 1963, Michael Myers escapes from a mental hospital and returns to the small town of Haddonfield, Illinois to kill again.", "popularity": 82.416, "poster_path": "/wijlZ3HaYMvlDTPqJoTCWKFkCPU.jpg", "release_date": "1978-10-24", "title": "Halloween", "video": false, "vote_average": 7.563, "vote_count": 5036 }, { "adult": false, "backdrop_path": "/tZ358Wk4BnOc4FjdGsiexAUvCMH.jpg", "genre_ids": [ 27, 53 ], "id": 424139, "original_language": "en", "original_title": "Halloween", "overview": "Laurie Strode comes to her final confrontation with Michael Myers, the masked figure who has haunted her since she narrowly escaped his killing spree on Halloween night four decades ago.", "popularity": 77.035, "poster_path": "/f7JAX5EGk4GgsEnus6OxyzwpFp7.jpg", "release_date": "2018-10-18", "title": "Halloween", "video": false, "vote_average": 6.548, "vote_count": 4367 },
Why i am getting the first result? The year is "1978" but i am searching for "2018". Can someone help me?
Не можете да откриете филм или сериал? Влезте, за да го създадете.
Искате ли да го оцените или добавите към списък?
Нямате профил?
Отговор от superboy97
на 23 октомври 2023 в 3:49 AM
Because this movie was re-released theatrically in 2018. "year=" check all the release dates listed for each movie.
You need to use "primary_release_year" instead of "year=".
Отговор от yusseiin
на 23 октомври 2023 в 3:52 AM
Thanks a lot, i will give a try with "primary_release_year".