diff options
author | Anderson Shindy Oki <[email protected]> | 2024-08-30 09:06:51 +0900 |
---|---|---|
committer | GitHub <[email protected]> | 2024-08-30 09:06:51 +0900 |
commit | 0fd635c72df39c8415f6aff338487de769aa101e (patch) | |
tree | dda7d76f86c3b876de603bc3c4f456d4cfafee8a /custom_libs/subliminal_patch | |
parent | 8e8311186d07fe19b9d5c317370ad194a8d860ad (diff) | |
download | bazarr-0fd635c72df39c8415f6aff338487de769aa101e.tar.gz bazarr-0fd635c72df39c8415f6aff338487de769aa101e.zip |
Fixed zimuku provider skipping non lowercase subtitles (#2644)
Diffstat (limited to 'custom_libs/subliminal_patch')
-rw-r--r-- | custom_libs/subliminal_patch/providers/zimuku.py | 2 |
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 |