Search found 11 matches

Go to advanced search

by natsunasubi
Sat Nov 04, 2023 2:23 pm
Forum: Developing
Topic: CORS ERROR: I can't download subtitle files.
Replies: 4
Views: 4662

Re: CORS ERROR: I can't download subtitle files.

Thank you for fixing it!
I confirmed that files can be downloaded even if I send the headers.
by natsunasubi
Sat Nov 04, 2023 8:19 am
Forum: Developing
Topic: CORS ERROR: I can't download subtitle files.
Replies: 4
Views: 4662

Re: CORS ERROR: I can't download subtitle files.

Thank you for your reply. I am sorry. There was a lack of explanation, and I was able to find out the cause. The issue isn't with the API(api.opensubtitles.com) itself, but with downloading files from the URL it provides. However, when I removed the Api-Key, Authorization, and X-User-Agent headers f...
by natsunasubi
Fri Nov 03, 2023 6:01 pm
Forum: Developing
Topic: CORS ERROR: I can't download subtitle files.
Replies: 4
Views: 4662

CORS ERROR: I can't download subtitle files.

Hello. I'm using an API from JavaScript on the web. Although I can use the API (api.opensubtitles.com) without any problems, I am no longer able to download subtitle files from www.opensubtitles.com using Javascript, which was previously possible. It seems that the cause is that access-control-allow...
by natsunasubi
Sat Oct 07, 2023 2:33 pm
Forum: Developing
Topic: API search issues
Replies: 2
Views: 21384

Re: API search issues

Thank you very much for your reply and response. You're right, Titanic seems to be a special case. The reason why there are so many movies that don't even include "Titan" seems to be because the "release" item contains strings such as "AC3.TiTAN". Also, will the new API...
by natsunasubi
Sat Sep 30, 2023 1:40 pm
Forum: Developing
Topic: API search issues
Replies: 2
Views: 21384

API search issues

Hi, Thank you for your constant support. I am using the old API(https://rest.opensubtitles.org/search/) and am considering migrating to the new API, but there seem to be some problems with the search functionality of the new API. 1.For example, keywords with less than 3 characters, such as "saw...
by natsunasubi
Thu Sep 07, 2023 5:32 pm
Forum: Developing
Topic: CORS ERROR: api.opensubtitles.com
Replies: 10
Views: 5851

Re: CORS ERROR: api.opensubtitles.com

Thank you! Perfect!
by natsunasubi
Thu Sep 07, 2023 4:39 pm
Forum: Developing
Topic: CORS ERROR: api.opensubtitles.com
Replies: 10
Views: 5851

Re: CORS ERROR: api.opensubtitles.com

Thank you for your reply. It is not possible to add X-User-Agent or Api-Key in Options-request. This is because the browser automatically queries the server to see if the API supports calls from external servers. curl -v -X OPTIONS \ --url 'https://api.opensubtitles.com/api/v1/subtitles?languages=en...
by natsunasubi
Thu Sep 07, 2023 4:01 pm
Forum: Developing
Topic: CORS ERROR: api.opensubtitles.com
Replies: 10
Views: 5851

Re: CORS ERROR: api.opensubtitles.com

Hi, thank you for your reply.

I tried it the other day and it worked fine, so I assumed you had taken care of it, but when I tried it now it is not working again.
The reply from Cloudflare to the Options-Request is 403, which results in an error.
by natsunasubi
Tue Aug 29, 2023 11:51 am
Forum: Developing
Topic: CORS ERROR: api.opensubtitles.com
Replies: 10
Views: 5851

Re: CORS ERROR: api.opensubtitles.com

Although this issue was resolved once, it seems to have recurred. As before, it seems to be caused by API's Cloudflare configuration. The browser's Options-Request seems to be rejected by the part that checks the User-Agent. ==To: OpenSubtitles.com== 1. Options-Request is an automatic browser reques...
by natsunasubi
Tue Jun 13, 2023 5:49 pm
Forum: Developing
Topic: CORS ERROR: api.opensubtitles.com
Replies: 10
Views: 5851

Re: CORS ERROR: api.opensubtitles.com

Thank you!
by natsunasubi
Thu Jun 01, 2023 2:20 pm
Forum: Developing
Topic: CORS ERROR: api.opensubtitles.com
Replies: 10
Views: 5851

CORS ERROR: api.opensubtitles.com

Hi, I am using the new API from OpenSubtitles.com from a web browser and JavaScript. However, I have been able to use it for the past few days, but now I am unable to use it due to a CORS error. It seems to be caused by the lack of Access-Control-Allow-* in the response from cloudflare. Is there any...

Go to advanced search