5

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.

m01
  • 9,033
  • 6
  • 32
  • 58
user3611075
  • 51
  • 1
  • 2

2 Answers2

3

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

Community
  • 1
  • 1
Adil
  • 49
  • 1
  • 3
2

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

Rory
  • 40,559
  • 52
  • 175
  • 261