def clean(): BaseRedis.delete('PROXIES')
def clean(spider_id): key = '{}_CRAWL_STATUS'.format(spider_id) BaseRedis.delete(key)