最好不要使用路径寻找配置文件,使用from scrapy.utils.project import get_project_settings
from scrapy.utils.project import get_project_settings
result = get_project_settings().get("我的配置项")
最好不要使用路径寻找配置文件,使用from scrapy.utils.project import get_project_settings
from scrapy.utils.project import get_project_settings
result = get_project_settings().get("我的配置项")