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.
mhb
Posts: 1
Joined: Sun Feb 21, 2021 12:02 am

API Question Regarding Download Limit

Sun Feb 21, 2021 12:08 am

HI, this is the flow of operations we're using to get the subtitles for our app

1) we generate a token using username, password, and then useragent over to https://api.opensubtitles.org/xml-rpc
2) we get a token and then do search by imdb using that token
3) we get a list of subtitles along with their properties and download link that looks like this:

Code: Select all

https://dl.opensubtitles.org/en/download/src-api/vrf-19a20c52/sid-THEAPIALWAYSAPPENDSTOKENHERE/file/1957104077.gz
now onto our question, we are hitting a limit based on IP and not a limit based on user/password for some reason

how do we use basic authentication on the download link so that OSS api knows its US trying to download subtitle and not the IP trying to download the subtitle, so that it counts downlaods per 24 per username/password(account) and not IP

when logging into our account and checking show_my_ip.php we have several more subtitle downloads per 24 hours.

This is a also a recent behavior... very strange

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

Re: API Question Regarding Download Limit

Tue Feb 23, 2021 11:02 pm

thanks for this post, I was able to locate the problem and hopefully fix it, please update if it was fixed.

Return to “Developing”

Who is online

Users browsing this forum: No registered users and 17 guests