mirror of
https://github.com/morpheus65535/bazarr
synced 2025-01-03 05:25:28 +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 = self.yunsuo_bypass(download_link, headers={'Referer': subtitle.page_link}, timeout=30)
|
||||||
r.raise_for_status()
|
r.raise_for_status()
|
||||||
try:
|
try:
|
||||||
filename = r.headers["Content-Disposition"]
|
filename = r.headers["Content-Disposition"].lower()
|
||||||
except KeyError:
|
except KeyError:
|
||||||
logger.debug("Unable to parse subtitles filename. Dropping this subtitles.")
|
logger.debug("Unable to parse subtitles filename. Dropping this subtitles.")
|
||||||
return
|
return
|
||||||
|
|
Loading…
Reference in a new issue