Scrapy, a fast high-level web crawling & scraping framework for Python.
Reduce logging level of bad URL
Samuel Bartlettc9a5934494cb
diff --git a/scrapy/linkextractors/lxmlhtml.py b/scrapy/linkextractors/lxmlhtml.pyindex f7c6937b0..0d1b76531 100644--- a/scrapy/linkextractors/lxmlhtml.py+++ b/scrapy/linkextractors/lxmlhtml.py@@ -94,7 +94,7 @@ class LxmlParserLinkExtractor:try:url = safe_url_string(url, encoding=response_encoding)except ValueError:- logger.error(f"Skipping extraction of bad link {url}")+ logger.debug(f"Skipping extraction of bad link {url}")continue # Disregard badly formatted urls# to fix relative links after process_value