From 5e07d30d91f91853346b104b4086f23c05693c67 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mike=20F=C3=A4hrmann?= Date: Sat, 24 May 2025 21:14:29 +0200 Subject: [PATCH] [arcalive] replace 'ac-p.namu' subdomains with 'ac-o.namu' (#7556) to prevent "403 Forbidden" errors when downloading --- gallery_dl/extractor/arcalive.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gallery_dl/extractor/arcalive.py b/gallery_dl/extractor/arcalive.py index 3c39a1a9..b1b32600 100644 --- a/gallery_dl/extractor/arcalive.py +++ b/gallery_dl/extractor/arcalive.py @@ -78,7 +78,8 @@ class ArcalivePostExtractor(ArcaliveExtractor): src = text.unescape(src.partition("?")[0]) if src[0] == "/": if src[1] == "/": - url = "https:" + src + url = "https:" + src.replace( + "//ac-p.namu", "//ac-o.namu", 1) else: url = self.root + src else: