]> git.mxchange.org Git - fba.git/commitdiff
Continued:
authorRoland Häder <roland@mxchange.org>
Thu, 25 May 2023 23:09:27 +0000 (01:09 +0200)
committerRoland Häder <roland@mxchange.org>
Thu, 25 May 2023 23:09:27 +0000 (01:09 +0200)
- an INFO message is okay, let the user know that the <meta name='generator'>
  was found and taken as the software behind the instance/website

fba.py

diff --git a/fba.py b/fba.py
index e6c15e861c5a078c5a95bc3c3ad0297f12373b21..1bc468458b08d7e36781cd527888ff808d1ae2a9 100644 (file)
--- a/fba.py
+++ b/fba.py
@@ -471,7 +471,7 @@ def fetch_generator_from_path(domain: str, path: str = "/") -> str:
             if isinstance(tag, bs4.element.Tag):
                 # NOISY-DEBUG: print("DEBUG: Found generator meta tag: ", domain)
                 software = tidyup(tag.get("content"))
-                # NOISY-DEBUG: pprint(f"DEBUG: software='{software}', setting detection mode ...")
+                print(f"INFO: domain='{domain}' is generated by '{software}'")
                 nodeinfos["detection_mode"][domain] = "GENERATOR"
                 remove_pending_error(domain)