From 1c2cf3bb1bbfdcdbfefe00605612761d11a7c134 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Mon, 22 May 2023 06:18:01 +0200 Subject: [PATCH] Continued: - strip out pipes from software names, too --- fba.py | 3 +++ 1 file changed, 3 insertions(+) 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) -- 2.39.5