The Movie Database 支持

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 回复(第 1 页,共 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!

找不到电影或节目?登录并创建它吧。

全站通用

s 聚焦到搜索栏
p 打开个人资料菜单
esc 关闭打开的窗口
? 打开键盘快捷键窗口

在媒体页面

b 返回(或返回上级)
e 进入编辑页面

在电视季页面

(右箭头)下一季
(左箭头)前一季

在电视集页面

(右箭头)下一集
(左箭头)上一集

在所有图像页面

a 打开添加图片窗口

在所有编辑页面

t 打开翻译选择器
ctrl+ s 提交

在讨论页面

n 创建新讨论
w 切换关注状态
p 设为公开 / 私密讨论
c 关闭 / 开放讨论
a 打开活动页
r 回复讨论
l 跳转至最新回复
ctrl+ enter 发送信息
(右箭头)下一页
(左箭头)前一页

设置

想给这个条目评分或将其添加到片单中?

登录

还不是会员?

注册加入社区