]> git.mxchange.org Git - fba.git/commitdiff
Continued:
authorRoland Häder <roland@mxchange.org>
Mon, 22 May 2023 04:18:01 +0000 (06:18 +0200)
committerRoland Häder <roland@mxchange.org>
Mon, 22 May 2023 04:20:28 +0000 (06:20 +0200)
- strip out pipes from software names, too

fba.py

diff --git a/fba.py b/fba.py
index 621789f80de5853407abcf93067f30bf07d40d5b..6f9dc73e77351fc212bf99dffce69475b86170e0 100644 (file)
--- 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)