raise TypeError("Unable to serialize %r (type: %s)" % (data, type(data))) es 不能直接插入scrapy的item类型,只能插入字典类型,所以需要 使用dict(item) 转换一下