From: Roland Häder Date: Mon, 22 May 2023 04:18:01 +0000 (+0200) Subject: Continued: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=1c2cf3bb1bbfdcdbfefe00605612761d11a7c134;p=fba.git Continued: - strip out pipes from software names, too --- diff --git a/fba.py b/fba.py index 621789f..6f9dc73 100644 --- a/fba.py +++ b/fba.py @@ -243,6 +243,9 @@ def determine_software(domain: str) -> str: elif software.find("/") > 0: print("WARNING: Spliting of path:", software) software = software.split("/")[-1]; + elif software.find("|") > 0: + print("WARNING: Spliting of path:", software) + software = software.split("|")[0].strip(); if software == "": print("WARNING: tidyup() left no software name behind:", domain)