随笔分类 -  python

Python Scrapy的debug方式
摘要:下面提供一种scrapy的debug方式 在运行 scrapy 库时,其实是相当于运行一个 python 脚本: #!/usr/bin/python3 from scrapy.cmdline import execute execute() 所以,我们将上面的代码保存为一个 debug.py 的文件 阅读全文

posted @ 2020-09-23 09:55 keinleerun 阅读(299) 评论(0) 推荐(0)

导航