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?
Can't find a movie or TV show? Login to create it.
Want to rate or add this item to a list?
Not a member?
Reply by robbie3999
on August 28, 2023 at 6:00 PM
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.
Reply by AcciaioInox
on September 3, 2023 at 11:16 AM
yes i noticed later, but I think that both the site search and the api search should return the same results