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.
quyenvanboqmak
Posts: 7
Joined: Sat Dec 30, 2023 5:26 pm

Is This normal? The Latest subtitles!

Mon Apr 15, 2024 4:29 am

Well, I'm using https://api.opensubtitles.com/api/v1/discover/latest to update the latest uploaded subtitles!

But recently I've noticed that the 'Latest' is being cached, and it might update every 60 minutes!

The issue here is, after 60 minutes, I think we'll have more than 60 subtitle files uploaded, and I'll miss out on many subtitle files!

I'm also not sure if it's exactly 60 minutes or longer, but overall, it's pretty bad!

I'm setting up regular update intervals for my application at 3-5 minutes/request, and because the 'latest' feature is acting like a joke, my app can't fetch the new files!

Update: I've double-checked my logs, sometimes it's 1 hour, 2 hours, even over 8 hours to get a new latest subtitle! I'm really unclear on how this 'latest' feature works.

- And the 'latest' results on different IPs are also different => clearly, it's caching by IP address.

Update2: And there's a small bug, I've received subtitles through the latest API, but when using the search API feature, I'm not getting any subtitles, it seems like it's not refreshing the cache properly!

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

Re: Is This normal? The Latest subtitles!

Mon Apr 15, 2024 10:55 am

Hi

it is cached by design, it is not best right now, in future we might change it, but not now.

Return to “Developing”

Who is online

Users browsing this forum: No registered users and 20 guests