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
}
Negalite rasti filmo ar TV laidos? Prisijunkite, kad sukurtumėte.
Norite įvertinti ar įtraukti šį elementą į sąrašą?
Nesate narys?
Atsakė superboy97
2024 liepos 1, 3:52 PM
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.
Atsakė Travis Bell
2024 liepos 2, 11:15 AM
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
andwith_original_language
.Atsakė altschulerjon
2024 liepos 2, 7:06 PM
@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!