An open source, non-profit web search engine
Log instead of print
Daoud Clarke7017d38ee3ef
diff --git a/crawl.py b/crawl.pyindex b38c595..2f9a60c 100644--- a/crawl.py+++ b/crawl.py@@ -124,7 +124,7 @@ def run_indexing():results = Results(api_key=API_KEY, results=result_items)logger.info(f"Posting {len(result_items)} results")response = requests.post("https://beta.mwmbl.org/api/v1/crawler/results", json=results.dict())- print("Response", response.text)+ logger.info(f"Response: {response.text}")response.raise_for_status()new_remote_items = remote_index.retrieve(term, refresh=True)