scrapy

1

closest_scrapy_cfg :  从当前目录往父级找scrapy.cfg的配置文件

 2. dir structe

project_demo/
├── __init__.py
├── project_demo
│   ├── __init__.py
│   └── settings.py
└── scrapy.cfg

scrapy.cfg

[settings]
default = project_demo.settings

[deploy]
#url = http://localhost:6800/
project = project_demo

 

posted @ 2018-04-10 10:29  yugengde  阅读(83)  评论(0编辑  收藏  举报