morpheus65535 / bazarr

Bazarr is a companion application to Sonarr and Radarr. It manages and downloads subtitles based on your requirements. You define your preferences by TV show or movie and Bazarr takes care of everything for you.
https://www.bazarr.media
GNU General Public License v3.0
2.87k stars 223 forks source link

Subscene RAR files cause provider to be throttled #1256

Closed demize closed 3 years ago

demize commented 3 years ago

Describe the bug A number of releases on Subscene appear to be released in RAR archives rather than ZIP archives, which causes Bazarr to fail to extract from the archive and throttle the Subscene provider.

To Reproduce I'll use the series "The Inbetweeners" as an example here, as it's one that's missing subtitles and suffers from this issue.

  1. Go to the series page for The Inbetweeners
  2. Do a manual search for subtitles for S01E05 with Subscene as an enabled provider.
  3. Attempt to download the release at hxxps://subscene.com/subtitles/the-inbetweeners-first-season/english/373014
  4. The download fails and Subscene gets throttled for 10 minutes.

Expected behavior Bazarr recognizes and extracts the RAR file.

Software (please complete the following information):

Additional context Logs, censored and cut a little bit to include only the relevant content.

morpheus65535 commented 3 years ago

I've made a small fix, can you confirm that RAR archives are now managed correctly? Fix in v0.9.1 in dev branch.

demize commented 3 years ago

Tested with a couple episodes that had subtitles in RAR files, both worked. Looks good now!