aboutsummaryrefslogtreecommitdiffhomepage
path: root/custom_libs
diff options
context:
space:
mode:
authorAnderson Shindy Oki <[email protected]>2024-08-30 09:06:51 +0900
committerGitHub <[email protected]>2024-08-30 09:06:51 +0900
commit0fd635c72df39c8415f6aff338487de769aa101e (patch)
treedda7d76f86c3b876de603bc3c4f456d4cfafee8a /custom_libs
parent8e8311186d07fe19b9d5c317370ad194a8d860ad (diff)
downloadbazarr-0fd635c72df39c8415f6aff338487de769aa101e.tar.gz
bazarr-0fd635c72df39c8415f6aff338487de769aa101e.zip
Fixed zimuku provider skipping non lowercase subtitles (#2644)
Diffstat (limited to 'custom_libs')
-rw-r--r--custom_libs/subliminal_patch/providers/zimuku.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/custom_libs/subliminal_patch/providers/zimuku.py b/custom_libs/subliminal_patch/providers/zimuku.py
index 7c66bfc6a..9fc97eba0 100644
--- a/custom_libs/subliminal_patch/providers/zimuku.py
+++ b/custom_libs/subliminal_patch/providers/zimuku.py
@@ -316,7 +316,7 @@ class ZimukuProvider(Provider):
r = self.yunsuo_bypass(download_link, headers={'Referer': subtitle.page_link}, timeout=30)
r.raise_for_status()
try:
- filename = r.headers["Content-Disposition"]
+ filename = r.headers["Content-Disposition"].lower()
except KeyError:
logger.debug("Unable to parse subtitles filename. Dropping this subtitles.")
return