Hello,this is working now - following redirects is important:Hi,
The API apparently doesn't support leading zeros, for example:
returns a empty response whileCode: Select all
https://rest.opensubtitles.org/search/episode-05/imdbid-0455275/season-05
returns the desired response.Code: Select all
https://rest.opensubtitles.org/search/episode-5/imdbid-0455275/season-5
Is this the desired behavior (and should be handled client-side) or this is a bug?Code: Select all
curl -L -A 'TemporaryUserAgent' https://rest.opensubtitles.org/search/episode-05/imdbid-0455275/season-03
I believe the same problem might be happening to the moviehash field
for example, this request is giving me infinite redirections:
Code: Select all
curl -L -A 'TemporaryUserAgent' http://rest.opensubtitles.org/search/moviebytesize-287833887/moviehash-0E54610718077500
Code: Select all
Location: http://rest.opensubtitles.org/search/moviebytesize-287833887/moviehash-e54610718077500