[xenforo:media] fix '403 Forbidden' with enabled 'metadata' (#8785)

https://github.com/mikf/gallery-dl/issues/8785#issuecomment-3732116455
This commit is contained in:
Mike Fährmann
2026-01-10 09:25:25 +01:00
parent 60104f20af
commit 32e95f403c

View File

@@ -260,7 +260,7 @@ class XenforoExtractor(BaseExtractor):
return f"{self.root_media}{path}/full", media
def _extract_media_ex(self, path, file):
page = self.request(f"{self.root}{path}/").text
page = self.request(f"{self.root_media}{path}/").text
schema = self._extract_jsonld(page)
main = schema["mainEntity"]