直接贴代码:
!/usr/bin/env python3
-- coding: utf-8 --
from scrapy.crawler import CrawlerProcess
from scrapy.utils.project import get_project_settings
process = CrawlerProcess(get_project_settings())
process.crawl('A_spider')
process.crawl('B_spider')
process.crawl('C_spider')
process.start()
网友评论