随笔分类 -  Scrapy

Scrapy笔记
摘要:# python大数据开发 ## scrapy框架 ### 架构 - Scrapy Engine(引: 负责Spider、ltemPipeline、 Downloader、Scheduler中间的通讯,信号、数据传递等 - Scheduler(调度器):它负责接受引擎发送过来的Request请求,并 阅读全文
posted @ 2023-04-29 09:42 读研随想录 阅读(72) 评论(0) 推荐(0)
几行代码教你快速创建scrapy项目,非常实用建议收藏!
摘要:import shutil,os修改settings.py def config(scrapy_path,project_name): judge=input("是否自动修改配置?是:yes|y 否:no|n\n请选择:") if judge=='yes'or judge=='y'or judge= 阅读全文
posted @ 2022-03-17 14:13 读研随想录 阅读(199) 评论(0) 推荐(0)
scrapy框架简介
摘要:一.安装scrapy环境 -mac或linux:pip install scrapy -windows: 1.pip install wheel 2.pip install twinsted 3.pip install pywin32 4.pip install scrapy 二.创建工程 1.进入 阅读全文
posted @ 2022-03-12 19:11 读研随想录 阅读(131) 评论(0) 推荐(0)