'Initialize per-spider redis queue.
Parameters:
server -- redis connection
spider -- spider instance
key -- key for this queue (e.g. "%(spider)s:queue")'

def __init__(self, server, spider, key, queue_name):

    self.server = server
    self.spider = spider
    self.key = (key % {'spider': queue_name})
