From c4e9fc3810e5bbbe660399aaef417815517c16c9 Mon Sep 17 00:00:00 2001 From: Floke Date: Thu, 10 Apr 2025 06:46:58 +0000 Subject: [PATCH] bugfix --- brancheneinstufung.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/brancheneinstufung.py b/brancheneinstufung.py index babc8d29..4b333a16 100644 --- a/brancheneinstufung.py +++ b/brancheneinstufung.py @@ -27,7 +27,7 @@ from difflib import SequenceMatcher import unicodedata import csv import gender_guesser.detector as gender -from urllib.parse import urlparse +from urllib.parse import urlparse, urlencode # Optional: tiktoken für Token-Zählung (Modus 8) try: @@ -1582,7 +1582,6 @@ def search_linkedin_contacts(company_name, website, position_query, crm_kurzform for result in data["organic_results"]: title = result.get("title", "") if crm_kurzform.lower() in title.lower(): - # Aufteilen des Titels in Namens- und Positionsbestandteile if "–" in title: parts = title.split("–") elif "-" in title: