elif schema_version == 4:
        item[extra_source.get('extra_field')] = str(value)
    else:
        pass
改成
elif schema_version == 4:
        item[extra_source.get('extra_field')] = value