summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorschneefux <schneefux+commit@schneefux.xyz>2017-02-08 18:01:26 +0100
committerschneefux <schneefux+commit@schneefux.xyz>2017-02-08 18:01:26 +0100
commitdaa2c59cd8b56d4f5bdec85d7421cf8f7827a908 (patch)
tree714431428050139a26332d2a8e9007f5abe46f42
parent3513b689ca2cc625b5be591f64701016b8d61d04 (diff)
downloadapigrabber-daa2c59cd8b56d4f5bdec85d7421cf8f7827a908.tar.gz
apigrabber-daa2c59cd8b56d4f5bdec85d7421cf8f7827a908.zip
add all regions
-rw-r--r--api.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/api.py b/api.py
index 86c7e35..9e5a8d7 100644
--- a/api.py
+++ b/api.py
@@ -28,7 +28,7 @@ async def crawl_region(region):
""")
)[0]["created"]
except:
- last_match_update = "2017-02-05T01:01:01Z"
+ last_match_update = "2017-02-07T01:01:01Z" # TODO
logging.info("%s: fetching matches since %s",
region, last_match_update)
@@ -55,7 +55,7 @@ async def start_crawlers():
# TODO: insert API version (force update if changed)
# TODO: create database indices
- for region in ["na", "eu"]:
+ for region in ["na", "eu", "sg", "ea", "sa", "cn"]:
# fire workers
asyncio.ensure_future(crawl_region(region))