Update web_scraper.py
Browse files- web_scraper.py +1 -0
web_scraper.py
CHANGED
@@ -152,6 +152,7 @@ def scrape_site_content(query, num_sites=5):
|
|
152 |
try:
|
153 |
# Get the HTML content
|
154 |
print(f"Trying {url} (attempt {attempt + 1}/{retries})")
|
|
|
155 |
response = requests.get(
|
156 |
url,
|
157 |
headers=headers,
|
|
|
152 |
try:
|
153 |
# Get the HTML content
|
154 |
print(f"Trying {url} (attempt {attempt + 1}/{retries})")
|
155 |
+
logger.info(f"Scraping URL: {url}")
|
156 |
response = requests.get(
|
157 |
url,
|
158 |
headers=headers,
|