Closed EvanKaraf closed 11 months ago
I'm getting
{"errors":["Query is too short"],"status":400}
when trying to download subtitles for NCIS. The query is:
https://api.opensubtitles.com/api/v1/subtitles?episode_number=22&languages=en&query=ncis_ncis&season_number=15
It seems like the limit is 5 characters, adding a _ at the end for example returns valid results.
Can you add padding characters at the end of the query if it's < 5 characters?
The query above should be just ncis (I was doing some testing hence the _ncis suffix) but I can't edit the issue.
okay, we've changed the API to allow shorter queries (4)
I'm getting
when trying to download subtitles for NCIS. The query is:
https://api.opensubtitles.com/api/v1/subtitles?episode_number=22&languages=en&query=ncis_ncis&season_number=15
It seems like the limit is 5 characters, adding a _ at the end for example returns valid results.
Can you add padding characters at the end of the query if it's < 5 characters?