summaryrefslogtreecommitdiff
path: root/crawler.py
diff options
context:
space:
mode:
Diffstat (limited to 'crawler.py')
-rw-r--r--crawler.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/crawler.py b/crawler.py
index dac2303..c21e535 100644
--- a/crawler.py
+++ b/crawler.py
@@ -1,5 +1,6 @@
#!/usr/bin/python
+import logging
import asyncio
import aiohttp
@@ -69,7 +70,6 @@ class Crawler(object):
while True:
params["page[offset]"] += params["page[limit]"]
try:
- print("asking for more matches…")
res = await self._req(session,
"shards/" + region + "/matches",
params)
@@ -80,6 +80,7 @@ class Crawler(object):
if not forever:
break # stop after one iteration
+ logging.debug("%s: asking for more matches", region)
return data