Beispiel #1
0
def start_twitter_crawl():
    '''Add the crawl task into the task queue.'''
    return twitter_crawl()
Beispiel #2
0
def twitter_task():
    '''Start the twitter crawl task. Return the task id of the task.'''
    result = twitter_crawl()
    return jsonify(status='started')