安装
1 | $ pip install Scrapy |
创建项目
1 | $ scrapy startproject crawler |
通过提示我们可以通过如下命令创建第一个spider1
2
3
4
5$ cd crawler
$ scrapy genspider youtube youtube.com
Created spider 'youtube' using template 'basic' in module:
crawler.spiders.youtube
最近热读
扫码关注公众号,或搜索公众号“温欣爸比”
及时获取我的最新文章
