键盘快捷键
高级搜索
I tried using https://api.themoviedb.org/3/search/multi?query=${query}&include_adult=true&include_video=false&include_media_type=true¬_include_media_type=person&page=1&api_key=${API_KEY}
but it doesn't work.
Hi @omkumar1872,
Unfortunately, it is not possible to exclude media types from multi search.
If you are wanting to skip people results, you can inspect the media_type field of each result and skip whatever types you don't want to display.
media_type
But the problem with that - For some page the number of results will be inconsistent like for page 1 there would be 15 results for another page it maybe 12 for some it maybe also 2 or 0 results.
So do you have any idea to deal with this?
Best I can suggest is to make additional page requests if you want to show more data when you detect counts under a certain threshold.
找不到电影或节目?登录并创建它吧。
登录
注册
想给这个条目评分或将其添加到片单中?
还不是会员?
注册加入社区
Travis Bell 的回复
于 2023 年 11 月 17 日 12:49下午
Hi @omkumar1872,
Unfortunately, it is not possible to exclude media types from multi search.
If you are wanting to skip people results, you can inspect the
media_type
field of each result and skip whatever types you don't want to display.omkumar1872 的回复
于 2023 年 11 月 18 日 1:29上午
But the problem with that - For some page the number of results will be inconsistent like for page 1 there would be 15 results for another page it maybe 12 for some it maybe also 2 or 0 results.
So do you have any idea to deal with this?
Travis Bell 的回复
于 2023 年 11 月 20 日 11:04上午
Best I can suggest is to make additional page requests if you want to show more data when you detect counts under a certain threshold.