Page 1 of 1

HTTP ERROR 500 on vtt subtitle download link

Posted: Fri Sep 18, 2020 4:53 pm
by ackenus
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

Re: HTTP ERROR 500 on vtt subtitle download link

Posted: Wed Nov 11, 2020 8:32 pm
by oss
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

Re: HTTP ERROR 500 on vtt subtitle download link

Posted: Sun Feb 21, 2021 6:56 pm
by ambassador_spok
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}'

Re: HTTP ERROR 500 on vtt subtitle download link

Posted: Tue Feb 23, 2021 11:23 pm
by oss
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...)