- - you
may need to install because of
- Install (required by Twisted)
- Download the Windows installer from the and install it.
- Add C:\Python26\Scripts to PATH中
- 创建一个scrapy项目: scrapy startproject czf_scrapy_test , 得到如下目录结构:
czf_scrapy_test /
scrapy.cfg :
czf_scrapy_test /
:将在这里添加模块
__init__.py
items.py
:确定要提取一个页面的哪些类型的信息,如:title,url,desc
pipelines.py
settings.py
spiders/ : 存放抓取规则的代价
__init__.py
...
阅读(581) | 评论(0) | 转发(0) |