[xenforo:media] fix '403 Forbidden' with enabled 'metadata' (#8785)
https://github.com/mikf/gallery-dl/issues/8785#issuecomment-3732116455
This commit is contained in:
@@ -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"]
|
||||
|
||||
Reference in New Issue
Block a user