mirror of
https://github.com/morpheus65535/bazarr
synced 2024-12-21 23:32:31 +00:00
Fixed zimuku provider skipping non lowercase subtitles (#2644)
This commit is contained in:
parent
8e8311186d
commit
0fd635c72d
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue