Assistance de TMDB

When I perform a search using the Multi, Movie or TV APIs and set the language field to en-US, my results are including results from other countries. For example.... https://api.themoviedb.org/3/search/tv?query=breaking%20bad&include_adult=false&language=en-US&page=1 Returns the following with entries from China. Am I doing something wrong or is this expected behavior? Thank you!

{
  "page": 1,
  "results": [
    {
      "adult": false,
      "backdrop_path": "/9faGSFi5jam6pDWGNd0p8JcJgXQ.jpg",
      "genre_ids": [
        18,
        80
      ],
      "id": 1396,
      "origin_country": [
        "US"
      ],
      "original_language": "en",
      "original_name": "Breaking Bad",
      "overview": "Walter White, a New Mexico chemistry teacher, is diagnosed with Stage III cancer and given a prognosis of only two years left to live. He becomes filled with a sense of fearlessness and an unrelenting desire to secure his family's financial future at any cost as he enters the dangerous world of drugs and crime.",
      "popularity": 567.709,
      "poster_path": "/ztkUQFLlC19CCMYHW9o1zWhJRNq.jpg",
      "first_air_date": "2008-01-20",
      "name": "Breaking Bad",
      "vote_average": 8.911,
      "vote_count": 13755
    },
    {
      "adult": false,
      "backdrop_path": "/x57Os7E3giCHLyQB6LoBi2wJ3bz.jpg",
      "genre_ids": [
        18,
        9648
      ],
      "id": 232533,
      "origin_country": [
        "CN"
      ],
      "original_language": "ko",
      "original_name": "绝命卦师",
      "overview": "During the Ming Dynasty, the emperor sets out for Xinjiang to advocate peace. Shortly after his absence, mysterious occurrences plague the palace and Daoist Tian Mu Tong (Zhang Xiao Chen) is called to cast out demons. Together with eunuch Xiao Mo Gu (Zhang Hao Ran) and Jin Yi Wei leader Yun Xiang Rong (Lu Qing), Mu Tong uncovers deep dark secrets and conspiracies hidden within conspiracies.",
      "popularity": 10.103,
      "poster_path": "/n8dKkbPkdEPFCFmjNvrUl1gUAYr.jpg",
      "first_air_date": "2016-04-11",
      "name": "Breaking Bad Fortune Teller",
      "vote_average": 0,
      "vote_count": 0
    }
  ],
  "total_pages": 1,
  "total_results": 2
}

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

Jump to last post

The language parameter indicate in which language you want to see the result of your query. This is not a filter to indicate that you want only movies of that language.

Hi @altschulerjon,

Search doesn't support any kind of filtering like you're looking for. You'll have to move over to use discover, which has some filters like with_origin_country and with_original_language.

@travisbell @superboy97 That's a shame as I wanted to have combined results of both Movie and TV. Will see what I can do. Thanks!

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