Assistance de TMDB

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?

2 réponses (sur la page 1 sur 1)

Jump to last post

Why i am getting the first result? The year is "1978" but i am searching for "2018".

Because this movie was re-released theatrically in 2018. "year=" check all the release dates listed for each movie.

Can someone help me?

You need to use "primary_release_year" instead of "year=".

@superboy97 said:

Why i am getting the first result? The year is "1978" but i am searching for "2018".

Because this movie was re-released theatrically in 2018. "year=" check all the release dates listed for each movie.

Can someone help me?

You need to use "primary_release_year" instead of "year=".

Thanks a lot, i will give a try with "primary_release_year".

Un film, une émission télévisée ou un artiste est introuvable ? Connectez-vous afin de créer une nouvelle fiche.

Général

s Mettre le curseur dans la barre de recherche
p Ouvrir le menu du profil
esc Fermer une fenêtre ouverte
? Ouvrir la fenêtre des raccourcis clavier

Sur les pages des médias

b Retour (ou vers le parent si faisable)
e Afficher la page de modification

Sur les pages des saisons des émissions télévisées

Afficher la saison suivante (flèche droite)
Afficher la saison précédente (flèche gauche)

Sur les pages des épisodes des émissions télévisées

Afficher l'épisode suivant (flèche droite)
Afficher l'épisode précédent (flèche gauche)

Sur toutes les pages des images / photos

a Ouvrir la fenêtre d'ajout d'image / photo

Sur toutes les pages de modifications

t Ouvrir le sélecteur de traduction
ctrl+ s Envoyer le formulaire

Sur les pages des discussions

n Créer une nouvelle discussion
w Basculer le statut de suivi
p Basculer publique / privée
c Basculer fermer / ouvrir
a Ouvrir l'activité
r Répondre à la discussion
l Afficher la dernière réponse
ctrl+ enter Envoyer votre message
Page suivante (flèche droite)
Page précédente (flèche gauche)

Paramètres

Vous souhaitez évaluer ou ajouter cet élément à une liste ?

Connexion