[英]Crawl website with scrapy within application
I am developing an application to crawl websites using Scrapy .I had a problem I want run the scrapy crawl website
command within the application. 我正在开发一个使用
scrapy crawl website
的应用程序。我有一个问题想要在应用程序中运行scrapy crawl website
命令。 Because the crawler will run from the browser. 因为搜寻器将通过浏览器运行。
Any Ideas ?? 有任何想法吗 ??
You should call a command from within your Python code. 您应该在Python代码中调用命令。 See here how that's done: Calling an external command in Python
查看此处的操作方法: 在Python中调用外部命令
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.