From aa5931fa8bb2b2f12cfc8c602072cdbea8169485 Mon Sep 17 00:00:00 2001 From: Dale Wahl Date: Tue, 12 Sep 2023 12:53:16 +0200 Subject: [PATCH] consolodate_urls: fix attribute name --- processors/conversion/consolidate_urls.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/processors/conversion/consolidate_urls.py b/processors/conversion/consolidate_urls.py index 449695bf5..53e62fc6d 100644 --- a/processors/conversion/consolidate_urls.py +++ b/processors/conversion/consolidate_urls.py @@ -339,7 +339,7 @@ def remove_url_components(parsed_url, remove_scheme=False, remove_domain=False, if remove_scheme: parsed_url = parsed_url._replace(scheme="") if remove_domain: - parsed_url = parsed_url._replace(domain="") + parsed_url = parsed_url._replace(netloc="") if remove_path: parsed_url = parsed_url._replace(path="") if remove_query: