Perhaps we should use a service that can make requests from different IPs etc.
if you get 407 Download limit reached, do not use persistent connections (HTTP keep-alive) and don't download more than 200 subtitles per 24 hour per IP/User. If user wants more, he can Become OpenSubtitles VIP member - thats one of the many reasons, why your app should allow user to login.
If you are registering User Agent to raise download limits from opensubtitles - it is wrong and it will not work. Download Limits are per User IP and User ID, it doesn't have nothing common with UA.
it is REQUIRED that your implementation supports LogIn() with user credentials (manually input user and password), because there are quite a lot of IPs, which are proxy (some service providers NAT, Singapore, Iran and others), and there is download limit per IP, so those users will hit limit very soon and OS will be not usable for them. Also there is other important reasons why to support this (VIP membership and so on). Also NEVER put in your application registered username and password, it might be blocked.
VIP Users should communicate with VIP API server, please read more in LogIn()
when downloading subtitles from server, you can set up 3-5 retries, 1-5 seconds delay. Don't abuse server with unlimited download retries and small (or no) delay
VIP: 1000 subtitles per 24 hours.
40 subtitles, per 10 seconds, per IP. But here, under the VIP section I see something different:
I always see the same number for rate limiting per IP (per 10 seconds). Maybe I should first bring website online and then send the guys an email. And then implement rate limiting.
https://forum.opensubtitles.org/viewtopic.php?f=8&t=16072
Perhaps we should use a service that can make requests from different IPs etc.
VIP: 1000 subtitles per 24 hours.
40 subtitles, per 10 seconds, per IP. But here, under the VIP section I see something different:
https://www.opensubtitles.org/en/support#vip
See
X-RateLimit-Remaining: 39
: