mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-06-13 19:50:27 +08:00
fix: preserve absolute subtitle asset urls
This commit is contained in:
@@ -678,6 +678,9 @@ class SiteSpider:
|
||||
"""
|
||||
if not link:
|
||||
return None
|
||||
parsed_link = urlparse(link)
|
||||
if parsed_link.scheme:
|
||||
return link
|
||||
if not link.startswith("http"):
|
||||
if link.startswith("//"):
|
||||
return self.domain.split(":")[0] + ":" + link
|
||||
|
||||
Reference in New Issue
Block a user