Skip to content

P2-第一个scrapy项目【scrapy教程】

  • 安装scrapy
  • 创建scrapy项目
  • 修改基本配置
  • 创建一个爬虫
  • 发送一个请求
python
pip install scrapy
# Linux/macOS
which scrapy
# windows
where scrapy
# scrapy包安装位置
pip show scrapy
scrapy startproject demo

scrapy genspider hello_scrapy http://localhost:8001/

本站收录内容源自互联网,不对其网站内容或交易负责。 | 如有内容侵犯权益,请联系站长删除相关内容!