diff --git a/crawl.py b/crawl.py index 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