我正在尝试更新我的蜘蛛版本,我写道:
curl http://localhost:6800/addversion.json -d project=comicvn -d spider=comicvn2 -d version= 141667324 -d egg=14116674324.egg
它犯了错误:{"status"": error,"message": "ValuesError: Unkow or corrupt egg"
什么是鸡蛋参数?我应该为它设置什么值?非常感谢 !
我通过使用命令创建了“14116674324.egg” bdist_egg
。之后,它14116674324.egg
在路径中创建了一个文件:C:\Python27\Scripts\eggs\comicvn2
,所以我将此文件复制到我的项目的根文件夹中,例如C:\Python27\Scripts\comicvn2
.