prepare spider configuration file, maybe json.