I am having an odd behavior with the search for subtitle API url.
I am using the website https://opensubtitles.stoplight.io/docs ... -subtitles to build my request however when I specify an episode_number i get no results. At first i thought the issue was that my result set didn't have the episode I specified in the search criteria; however, the result count is 22 items and I found at least 2 episode 1s.
its possible it is something im doing wrong; maybe there is a field i am not specifying along with the episode number. Hence Im here looking for help.
Here is my test, i do have an API key i just removed it from the URL.
>> Works
Code: Select all
curl --request GET \
--url 'https://api.opensubtitles.com/api/v1/subtitles?languages=en&parent_imdb_id=2480514&parent_tmdb_id=46746&season_number=1' \
--header 'Api-Key: FAKE_PAI_KEY_HERE' \
--header 'Content-Type: application/json'
Code: Select all
curl --request GET \
--url 'https://api.opensubtitles.com/api/v1/subtitles?languages=en&parent_imdb_id=2480514&parent_tmdb_id=46746&season_number=1&episode_number=1' \
--header 'Api-Key: FAKE_API_KEY_HERE' \
--header 'Content-Type: application/json'
I have tried this on the default and VIP servers and i get the same behavior.
Your help is appreciated.