From: Roland Häder Date: Tue, 12 Sep 2023 01:40:31 +0000 (+0200) Subject: Continued: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=713b1ce781f973073c7f532e8f0de657f7deb806;p=fba.git Continued: - please execute SQL command: "UPDATE instances SET command = 'redirect_target' WHERE command = 'fetch_generator';" - yes, it is done during detection mode 'generator' but it was discovered as redirection target --- diff --git a/fba/http/federation.py b/fba/http/federation.py index eeed806..5fb9608 100644 --- a/fba/http/federation.py +++ b/fba/http/federation.py @@ -322,7 +322,7 @@ def fetch_generator_from_path(domain: str, path: str = "/") -> str: logger.debug("domain2='%s'", domain2) if not instances.is_registered(domain2): logger.info("components.netloc='%s' is not registered, adding ...", components.netloc) - fetch_instances(domain2, domain, None, "fetch_generator") + fetch_instances(domain2, domain, None, "redirect_target") message = f"Redirect from domain='{domain}' to response.url='{response.url}'" instances.set_last_error(domain, message)