$scrapy 版本:0.14 $
$文件:settings.py $
EXTENSIONS = { 'myproject.extensions.MySQLManager': 500 } 
$文件:管道.py $
# -- coding: utf-8 -- 
# Define your item pipelines here # 
# Don't forget to add your pipeline to the ITEM_PIPELINES setting 
# See: doc.scrapy.org/topics/item-pipeline.html 
from scrapy.project import extensions
from urlparse import urlparse 
import re 
class MySQLStorePipeline(object): 
    def process_item(self, item, spider): 
        if self.is_allowed_domain(item['url'], spider) is True: 
            MySQLManager.cursor... #cannot load MySQLManager
ImportError:无法导入名称扩展。我在 /scrapy/project.py 中找不到扩展类