Since a couple of days I’m getting 0 results for queries that used to work correctly.
As far as I know I go through all the steps (goto api.opensubtitles.com /api/v1/login to get the token,
provide apikey, useragent and token to f.e. /api/v1/subtitles?episode_number=22&query=the+middle&season_number=2).
It doesn’t really matter if I provide a useragent with or without version number, but when I do not I get a response header saying User-Agent header is wrong - can not parse version of App; add version eg: subtitledownloader v1.2.3.
For reference: that url used to return valid results, and I can also find them on the opensubtitles.com website
Wow, thanks for the hint!
Adding the type gives me results again
1 Like
I just did some changes, now if you send something like episode number, season number, parent id (id, imdb, tmdb) the API will go for a serie
I also added a multi search that tries to do exact match for a short title such as “friends” but if you search for something like “the middle” in order to get “malcolm in the middle” for example, there will be so many matches on “the middle” that the results will be hard to get accurately
1 Like
Speaking of “Friends”. I am not getting any results for the American series Friends, by typing Friends or the IMDB number. If I put in a specific episode, there are results, but if I click on the result to download, there is a message “This Content was Removed”.
Is there a reason or expectation that Friends content shouldn’t be available?
yes, if you look for subtitles for a show, you need to at least put a season number in
for the results, the show “friends” is indeed blacklisted because of DMCA and won’t show on the website, so the links to the web pages won’t work, but you can use the file_id in the response to generate the link in the /download endpoint