From ea434963aed0cfb9c9a6fd412c42631cf5091e70 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mike=20F=C3=A4hrmann?= Date: Thu, 23 May 2024 19:12:01 +0200 Subject: [PATCH] [subscribestar] fix file URLs (#5631) --- gallery_dl/extractor/subscribestar.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gallery_dl/extractor/subscribestar.py b/gallery_dl/extractor/subscribestar.py index d4adfed9..0abb3abc 100644 --- a/gallery_dl/extractor/subscribestar.py +++ b/gallery_dl/extractor/subscribestar.py @@ -43,6 +43,8 @@ class SubscribestarExtractor(Extractor): item.update(data) item["num"] = num text.nameext_from_url(item.get("name") or item["url"], item) + if item["url"][0] == "/": + item["url"] = self.root + item["url"] yield Message.Url, item["url"], item def posts(self):