Forum rules
Under no circumstances is spamming or advertising of any kind allowed. Do not post any abusive, obscene, vulgar, slanderous, hateful, threatening, sexually-orientated or any other material that may violate others security. Profanity or any kind of insolent behavior to other members (regardless of rank) will not be tolerated. Remember, what you don’t find offensive can be offensive to other members. Please treat each other with the kind of reverence you’d expect from other members.
Failure to comply with any of the above will result in users being banned without notice. If any further details are needed, contact: “The team” using the link at the bottom of the forum page. Thank you.
User avatar
oss
Site Admin
Posts: 5247
Joined: Sat Feb 25, 2006 11:26 pm
Contact: Website

Re: Open subtitles API download issue

Sun Sep 19, 2021 10:30 am

if you know how we can help you, let us know :)

kva1992
Posts: 8
Joined: Sun Sep 12, 2021 6:54 am

Re: Open subtitles API download issue

Tue Sep 28, 2021 11:10 pm

Oh I got it

So, if you get the download prompt, it means the file is downloaded for the first time, coming from our server I control the headers, and can make it start downloading.

if the file has already been queried once, it'll be fetched by the cloudflare cache and just come up in your browser.
Ahh, So apparently the Cloudflare is the issue. It is blocking me from downloading it. Just confirmed this with a dev on the VLC repository. He said nothing they can do, its on your end. Anything you can do to address the issue?
Allright, so, I prepared something you can try.

https://opensubtitles.stoplight.io/docs ... nload/post

add the parameter "force_download=1" when you request the download link, let me know if it solves your problem
Any Updates on this issue?

os_dev
Posts: 104
Joined: Wed Oct 17, 2018 3:42 pm

Re: Open subtitles API download issue

Wed Sep 29, 2021 9:55 am



Ahh, So apparently the Cloudflare is the issue. It is blocking me from downloading it. Just confirmed this with a dev on the VLC repository. He said nothing they can do, its on your end. Anything you can do to address the issue?
Allright, so, I prepared something you can try.

https://opensubtitles.stoplight.io/docs ... nload/post

add the parameter "force_download=1" when you request the download link, let me know if it solves your problem
Any Updates on this issue?
it is quite strange, because it works here, important thing is to always create fresh download. If possible try to send all REQUESTS and RESPONSE, so we can debug further.
we need a precise issue to investigate

Return to “Developing”

Who is online

Users browsing this forum: No registered users and 3 guests