新建main文件
# -*- coding: utf-8 -*-
from scrapy.cmdline import execute
import sys, os
# sys.path.append(os.path.dirname(os.path))
sys.path.append(os.path.dirname(os.path.abspath(__file__)))
# execute(['scrapy', 'crawl', 'car'])
execute(['scrapy', 'crawl', 'chelogo'])