<filename>Anjuke/manage.py
# -*- coding:utf-8 -*-

from scrapy.cmdline import execute
import sys
import os

sys.path.append(os.path.dirname(os.path.abspath(__file__)))
execute(["scrapy", "crawl", "anjuke_sz"])

<filename>Anjuke/manage.py
# -*- coding:utf-8 -*-

from scrapy.cmdline import execute
import sys
import os

sys.path.append(os.path.dirname(os.path.abspath(__file__)))
execute(["scrapy", "crawl", "anjuke_sz"])

# -*- coding:utf-8 -*-