I am a developer and currently working on a passional project related to movies that i have stored in my HDD. I payed VIP subscription and worked on a script to automatically download subtitles for each of my movie files. The login part works fine and i am able to find the subtitles that i want. I get the Id and use the following URL to download it:
https://api.opensubtitles.com/api/v1/download
Here is an example of my request (i am using nodejs and fetch):
Code: Select all
{
method: 'post',
headers: {
'Content-Type': 'application/json',
Accept: 'application/json',
Authorization: 'Bearer xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'
},
body: '{"file_id":146944}'
}
Code: Select all
{ data: { message: 'Service unavailable' } }
4366289, 146944, 333212, 333212
I appreciate very much your response. Let me know if you need to know more about the problem.
Thank you!