https://api.themoviedb.org/3/search/tv?api_key=API_KEY&query=Itai+no+wa+Iya+nanode+Bougyoryoku+ni+Kyokufuri+Shitai+to+Omoimasu
returns no result, but going on TMDB and manually searching for:
Itai no wa Iya nanode Bougyoryoku ni Kyokufuri Shitai to Omoimasu
works:
A workaround I found is trying shortening the query like this:
https://api.themoviedb.org/3/search/tv?api_key=API_KEY&query=Itai+no+wa+Iya
this returns the expected result but it doesn't make any sense, why shouldn't the full name work?
Any errors on my part or is it the API that is not working correctly?
找不到电影或节目?登录并创建它吧。
robbie3999 的回复
于 2023 年 08 月 28 日 6:00下午
Hi @AcciaioInox, in looking at the alternate titles endpoint for this series:
I do not see the title you are searching for. I see these:
which are not exactly the same as what you are searching for. (you have "nanode" one word and these have "nano de" two words)
I don't know exactly why the website search finds it and the api search doesn't, perhaps the website search does more or different "closeness" matching. However, if I put in the exact titles above in the api search I get the match.
AcciaioInox 的回复
于 2023 年 09 月 03 日 11:16上午
yes i noticed later, but I think that both the site search and the api search should return the same results