Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OpenSubtitles API-limit reached #26

Open
Zumzod opened this issue Feb 14, 2020 · 1 comment
Open

OpenSubtitles API-limit reached #26

Zumzod opened this issue Feb 14, 2020 · 1 comment

Comments

@Zumzod
Copy link

Zumzod commented Feb 14, 2020

Just upgraded from 1.4 to 1.6.2 and ran the script for my movies and series and it worked great.
The problem is that for all my series it seems like I have reached the limit for how many subtitles it can download. If I play a clip the subtitle says In order to continue you have to login for the whole movie..

I created an account at OpenSubtitles and entered the info in Opensubtitles.auth-file but I got the same "error". Did some research and it seems like there is a limit on 100 Subtitles per 24 hours and 1000 if you pay for VIP.

I'm wondering if its possible to see if the API-returns that you have reached the limit and not download the file. Right now it downloaded 100's of 1kb .srt-files that said that I have to login.

If anyone else had the same problem here is a batch script that will remove all .srt-files that are smaller than 200kb in this folder and all subfolders.

@echo off
setlocal
for /f  "usebackq delims=;" %%A in (`dir /s /b *.srt`) do If %%~zA LSS 200 del "%%A"
pause
@zerratar
Copy link
Owner

Thanks for reporting it! I havnt worked on the project now for a while. But I will look into it as soon as I get some time on my hands :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants