- some people made a website which redirected to other redirect-only domains,
e.g. start with 'social.golangengine.de' and you see what I mean
- if fetch_instances() is used here, it will cause a permanent redirect and
later a stackoverflow
return None
elif not instances.is_registered(domain2):
logger.info("components.netloc='%s' is not registered, adding ...", components.netloc)
- fetch_instances(domain2, domain, None, "redirect_target")
+ instances.add(domain2, domain, "redirect_target")
message = f"Redirect from domain='{domain}' to response.url='{response.url}'"
instances.set_last_error(domain, message)