scrapy运行文件run.py

from scrapy import cmdline
# baidus:爬虫文件里的name
cmdline.execute('scrapy crawl baidus'.split())
posted @ 2021-11-03 16:46  布都御魂  阅读(295)  评论(0编辑  收藏  举报