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.
ackenus
Posts: 1
Joined: Tue Mar 27, 2018 3:24 pm

HTTP ERROR 500 on vtt subtitle download link

Fri Sep 18, 2020 4:53 pm

Hello i'm using this wrapper the opensubtitle-api nodejs wrapper (https://www.npmjs.com/package/opensubtitles-api), it's working great for everything except the vtt subtitle download link, when i pass a movie's imdb link i get 3 download links.

for example for the movie Mulan, i get these. (first 2 are for srt)


url: https://dl.opensubtitles.org/en/downloa ... 1956905364 (works)

utf8: https://dl.opensubtitles.org/en/downloa ... 1956905364 (works)

vtt: https://dl.opensubtitles.org/en/downloa ... 1956905364 (doesn't work and i get the following error)

This page isn’t working
dl.opensubtitles.org is currently unable to handle this request.

HTTP ERROR 500


i was wondering am i doing something wrong from my end since i'm just learning this stuff

User avatar
oss
Site Admin
Posts: 5878
Joined: Sat Feb 25, 2006 11:26 pm
Contact: Website

Re: HTTP ERROR 500 on vtt subtitle download link

Wed Nov 11, 2020 8:32 pm

not all vtt works, because some subtitles we can not convert. Please check for our new API on https://www.opensubtitles.com/docs/api/html/index.htm

soon it will be production ready

ambassador_spok
Posts: 1
Joined: Sun Feb 21, 2021 6:50 pm

Re: HTTP ERROR 500 on vtt subtitle download link

Sun Feb 21, 2021 6:56 pm

Yes I tried the https://www.opensubtitles.com/docs/api/html/index.htm API and still getting a 500 response.

Here's the response that I'm getting:

Code: Select all

{'link': 'https://www.opensubtitles.com/download/4D633E4DEF7C1CE61F138270C98135690AD3A6FA605DAC9487355D6026AE999772AB03A419BF8D7FD517F76DBE1146F494BD768A6430CAD4302BE9C24F5C16B7FDB58709C8E0675E62938FD8117909E445D49DA8A91D3FCB46E31997A78577AD82F57435FED84008F99DBF6F78A72EA08FA1116B00D56001CA7BC6657D6E55C46086042CD101CB3F89E2F73FDD2591614C79D347379FFF6DF2324D25B490BFE4BB3D3800EBF8EB0690274D65BE36F5DF465CB801F1E964505BFD61DE80775A3534E41E4F4013A47808F33530E8CB53A7EA5EF228A9F8F8AF06C01AFC9ED87F12557AD6B6950A210CAB9E1F5A25E52F2C023E03EEF1BE2CD4/subfile/Avengers.Endgame.2019.2160p.4K.BluRay.x265.10bit.AAC5.1-%5BYTS.MX%5D.srt', 'file_name': 'Avengers.Endgame.2019.2160p.4K.BluRay.x265.10bit.AAC5.1-[YTS.MX].srt', 'requests': 4, 'remaining': 96, 'message': None}
and it keeps giving me a 500 error.

Also, here's the data I'm passing it.

Code: Select all

'{"file_id":5274788,"sub_format":"srt","file_name":"Avengers.Endgame.2019.2160p.4K.BluRay.x265.10bit.AAC5.1-[YTS.MX]","strip_html":true,"cleanup_links":true,"remove_adds":true,"in_fps":0,"out_fps":0,"timeshift":0}'

User avatar
oss
Site Admin
Posts: 5878
Joined: Sat Feb 25, 2006 11:26 pm
Contact: Website

Re: HTTP ERROR 500 on vtt subtitle download link

Tue Feb 23, 2021 11:23 pm

Hi

what exactly gives you 500 error ? I tried, and this works (I used same input http requests as you provide)

send curl example (you can garble api key and jwt...)

Return to “Developing”

Who is online

Users browsing this forum: No registered users and 28 guests