From daa2c59cd8b56d4f5bdec85d7421cf8f7827a908 Mon Sep 17 00:00:00 2001 From: schneefux Date: Wed, 8 Feb 2017 18:01:26 +0100 Subject: add all regions --- api.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'api.py') 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)) -- cgit v1.3.1