Skip to content

Migration to REST API? #247

@Rainmaker52

Description

@Rainmaker52

As mentioned at https://trac.opensubtitles.org/projects/opensubtitles/wiki/DevReadFirst OpenSubtitles.org will stop offering their API in the near future:

OpenSubtitles.org API is deprecated and not possible to register new user agents anymore, we plan to turn off OpenSubtitles.org API by the end of 2023. Please use new, stable ready-to-use ​Open Subtitles REST API instead.

The REST API is documented here: https://opensubtitles.stoplight.io/docs/opensubtitles-api/e3750fd63a100-getting-started

As you might expect, it looks to be HTTPS only. I'm not sure whether http_req() in the script could be rewritten for HTTPS. I don't believe this is easy - vlc.net.* does not seem to have anything available for encryption.

Most important other changes seem to be:

  • A key only gives access to 5 downloads / day / IP
  • A user account has 10 downloads (but requires users to signup)
  • They mention a "VIP" user level, possibly indicating paid plans?

(I am already getting 401 errors. Not sure whether this is related or not, but while troubleshooting that, I came across this information. Thought it could help)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions