Skip to content

armgit / mwmbl

Public Imported from GitHub
0

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.py
index 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, timest
return
if not isinstance(parsed_link.netloc, str):
- logger.debug(f"Couldn't parse netloc: {parsed_link}")
+ logger.debug(f"Couldn't find netloc: {link.url}")
return
if is_domain_blacklisted(parsed_link.netloc, blacklist_domains):