Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -176,7 +176,7 @@ def scrape_site_content(query, num_sites=5):
|
|
176 |
|
177 |
try:
|
178 |
# Get more URLs than needed to account for failures
|
179 |
-
search_results = list(search(query,
|
180 |
|
181 |
# Process each found URL
|
182 |
for url in search_results:
|
|
|
176 |
|
177 |
try:
|
178 |
# Get more URLs than needed to account for failures
|
179 |
+
search_results = list(search(query, num_results=num_sites * 2))
|
180 |
|
181 |
# Process each found URL
|
182 |
for url in search_results:
|