-
Notifications
You must be signed in to change notification settings - Fork 229
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
RegieLive provider is regularily returning BadZipFile #2165
Comments
Is that na issue only with RegieLive? |
Based on what providers I used so far, seem like it, yes. Don't have the biggest knowledge, but looking over the log, it seems to me that it cache that error sometime ago and now it displays it every time. Log:
Also, one thing that I didn't mentioned is that, RegieLive used to work, and was one of the best for me but for the past couple of day I'm constantly receiving that error. I've even removed it for 1-2 days just in case it had some timeouts or anything but once I add it back, it returns the above at the first search |
It seems that regielive implemented reCaptcha on their download pages. @alexandrucatalinene are you in the mood to look into this one? You've done a great job when we had issues with this provider before. Thanks! |
Ok, I'll try and tackle this one. |
Just an update: I didn't have time to properly look into the issue but I did try an reproduce it (both in bazarr but also in browser) and I couldn't do it. Everything downloaded fine and unzipped, all zipped files were valid, never got a recaptcha challenge (even though I changed UAs, reset all cookies, private browsing etc). So, my guess right now is that it's something that happens only for certain devices (IPs maybe) that triggered some sort of rule on RL. |
@alexandrucatalinene What I can tell is that I've used Bazarr first to search for subtitles in batch then got throttled. When accessing the URL that get throttled (the zip file download), I get redirected to the html page to solve the recaptcha. |
There is a limit of subtitles that can be downloaded in a certain period of time. Problems can occur with series with many episodes or if someone downloads many subtitles. Normally, that limit is not reached. |
So, my take on this is that we should intercept this error and return a Throttled exception. Any clue on on definite way of detecting this limit (http return code, page data etc). I want to avoid trying to add a bypass just for some edge cases. |
Describe the bug
RegieLive is some time returing BadZipFile, even if during a manual search is working and it downloads a proper zip file.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
BadZipFile should not appear for actual zip files
Screenshots
Software (please complete the following information):
The text was updated successfully, but these errors were encountered: