为什么要使用scrapy而不是requests+beautifulsoup?

总结起来,有俩点最重要:

1)scrapy使用twisted异步网络框架,类似nodejs,性能高;

2)scrapy内置的selector比beautifulsoup效率要高很多;

posted on 2017-07-30 17:29  飞哥100  阅读(3342)  评论(0)    收藏  举报

导航