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?
Ne možete pronaći film ili TV seriju? prijavite se da biste ga napravili.
Want to rate or add this item to a list?
Not a member?
Odgovorio robbie3999
dana 28 kolovoz 2023 u 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.
Odgovorio AcciaioInox
dana 3 rujan 2023 u 11:16 AM
yes i noticed later, but I think that both the site search and the api search should return the same results