def process_response(request, response, spider):
if "antispider" in response.url:
spider_logger.error("recieve verification code in %s" % response.url)
raise CloseSpider('antispider')
return response
文章目录