- 创建Appstore工程
scrapy startproject Appstore
2. 生成spider文件
scrapy genspider appstore 'sj.qq.com'
3. 编写items.py文件
4. 编写appstore.py文件
6. 编写pipline.py文件
7. 修改settings.py文件,开启管道
8. 执行文件
python3 -m scrapy crawl appstore
scrapy startproject Appstore
2. 生成spider文件
scrapy genspider appstore 'sj.qq.com'
3. 编写items.py文件
4. 编写appstore.py文件
6. 编写pipline.py文件
7. 修改settings.py文件,开启管道
8. 执行文件
python3 -m scrapy crawl appstore