An open source, non-profit web search engine
Add timeout
Daoud Clarked7baa1f2321e
diff --git a/crawl.py b/crawl.pyindex 31c99e5..609deb6 100644--- a/crawl.py+++ b/crawl.py@@ -37,7 +37,7 @@ def crawl():def fetch(url):- page_data = requests.get(url)+ page_data = requests.get(url, timeout=10)return page_data.text