An open source, non-profit web search engine
Log the URL instead of the parsed URL
Daoud Clarkefbd0b349b45f
diff --git a/mwmbl/indexer/update_urls.py b/mwmbl/indexer/update_urls.pyindex 7218078..c17dc58 100644--- a/mwmbl/indexer/update_urls.py+++ b/mwmbl/indexer/update_urls.py@@ -113,7 +113,7 @@ def process_link(user_id_hash: str, crawled_page_domain: str, link: Link, timestreturnif not isinstance(parsed_link.netloc, str):- logger.debug(f"Couldn't parse netloc: {parsed_link}")+ logger.debug(f"Couldn't find netloc: {link.url}")returnif is_domain_blacklisted(parsed_link.netloc, blacklist_domains):