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
на 28 август 2023 в 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.
Отговор от AcciaioInox
на 3 септември 2023 в 11:16 AM
yes i noticed later, but I think that both the site search and the api search should return the same results