diff --git a/spiderfoot/templates/opts.tmpl b/spiderfoot/templates/opts.tmpl index 03f54b1b70f..e8d207e580a 100644 --- a/spiderfoot/templates/opts.tmpl +++ b/spiderfoot/templates/opts.tmpl @@ -140,7 +140,7 @@ instructions = "" for step in apiKeyInstructions: if "https://" in step or "http://" in step: - step = re.sub(r'.*(https?://.[^ ]+).*', '\\1', step) + step = re.sub(r'(https?://.[^ ]+)', '\\1', step) instructions += f"