API search issues
Posted: Sat Sep 30, 2023 1:40 pm
Hi, Thank you for your constant support. I am using the old API(https://rest.opensubtitles.org/search/) and am considering migrating to the new API, but there seem to be some problems with the search functionality of the new API.
1.For example, keywords with less than 3 characters, such as "saw", will result in a 400 error.
https://api.opensubtitles.com/api/v1/subtitles?languages=en&query=saw
2. For example, if you search for "titanic", you will get a lot of hits for "titan".
https://api.opensubtitles.com/api/v1/subtitles?languages=en&query=titanic
These behaviors feel a little unnatural because they are different from the old API and the web search function of opensubtitles.com.
If you have any solutions, I would appreciate it if you could let me know.
1.For example, keywords with less than 3 characters, such as "saw", will result in a 400 error.
https://api.opensubtitles.com/api/v1/subtitles?languages=en&query=saw
2. For example, if you search for "titanic", you will get a lot of hits for "titan".
https://api.opensubtitles.com/api/v1/subtitles?languages=en&query=titanic
These behaviors feel a little unnatural because they are different from the old API and the web search function of opensubtitles.com.
If you have any solutions, I would appreciate it if you could let me know.