From b57c9a6f4e4572027aa2862bb684d6a0891ef801 Mon Sep 17 00:00:00 2001 From: schneefux Date: Sun, 5 Mar 2017 10:36:38 +0100 Subject: run jobs in batches (#57) --- crawler.py | 1 + 1 file changed, 1 insertion(+) (limited to 'crawler.py') diff --git a/crawler.py b/crawler.py index 6a588c7..88bc93e 100644 --- a/crawler.py +++ b/crawler.py @@ -48,6 +48,7 @@ class Crawler(object): aiohttp.errors.ClientResponseError, aiohttp.errors.ClientOSError): # API bug? + logging.warning("API error, retrying") pass await asyncio.sleep(10) -- cgit v1.3.1