带有python的.net框架 [英] .net framework with scrapy python
本文介绍了带有python的.net框架的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
是否可以将.NET框架与Python scrapy 框架一起使用,以从不同站点抓取数据? 我正在完成我的最后一个项目,我想在其中使用C#作为前端语言,并使用Python抓取数据.
Is it possible to use .NET framework with the Python scrapy framework to scrape data from different sites? I am working on my final year project in which I want to use C# as front end language and Python for scraping the data.
推荐答案
我认为这是不可能的,因为Scrapy使用了扭曲的网络引擎,该引擎
I don't think it is possible, because Scrapy uses twisted networking engine which can not run on IronPython
或者,您可以使用C#通过命令行启动Spider/Crawler,然后使用 JSON API
Alternatively, you may start your spider/crawler through command line using C# and then interact with it using JSON API
这篇关于带有python的.net框架的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文