.net framework with scrapy python [closed]

痴心易碎 提交于 2019-12-01 06:34:46

问题


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.


回答1:


I don't think it is possible, because Scrapy uses twisted networking engine which can not run on IronPython

Alternatively, you may start your spider/crawler through command line using C# and then interact with it using JSON API




回答2:


Take a look at ScrapySharp, also described on this blog, which is the C# version of python's Scrapy.



来源:https://stackoverflow.com/questions/23511569/net-framework-with-scrapy-python

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!