[sankaku][idolcomplex] fix download URLs (#8666)

This commit is contained in:
Mike Fährmann
2025-12-09 10:02:43 +01:00
parent 1b4249ed37
commit ae41de3be5
2 changed files with 9 additions and 9 deletions

View File

@@ -61,8 +61,8 @@ class SankakuExtractor(BooruExtractor):
self.log.warning(
"Login required to download 'contentious_content' posts")
SankakuExtractor._warning = False
elif url[8] == "v":
url = "https://s.sankakucomplex.com" + url[url.index("/", 8):]
elif url[4] != "s":
url = "https" + url[4:]
return url
def _prepare(self, post):