Skip to content

Commit

Permalink
fix: filename letter case
Browse files Browse the repository at this point in the history
  • Loading branch information
anderson-oki committed Aug 29, 2024
1 parent 8e83111 commit 815f365
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_libs/subliminal_patch/providers/zimuku.py
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ def _get_archive_download_link(yunsuopass, sub_page_link):
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
Expand Down

0 comments on commit 815f365

Please sign in to comment.