我正在尝试从 shell 脚本添加 delicious 书签,但一直收到神秘的“出现问题”错误。我检查了官方规格和几个例子一切看起来都正常。有什么想法吗?
wget --no-check-certificate --http-user=MYUSERNAME --http-passwd=MYPASSWORD https://api.del.icio.us/v1/posts/add?url=http%3A%2F%2Fwebmonkey.com%2F&description=The%20Internets%20Best%20Singles%20Hangout
也尝试过
wget --no-check-certificate https://MYUSERNAME:[email protected]/v1/posts/add?url=http%3A%2F%2Fwebmonkey.com%2F&description=The%20Internets%20Best%20Singles%20Hangout
答案1
使用 curl 可以进行以下操作:
curl "https://MYUSERNAME:[email protected]/v1/posts/add?&url=http%3A%2F%2Fwebmonkey.com%2F&description=xxx&tags=test&replace=no"
通过这篇文章找到解决方案。但是,仍然无法使 wget 工作。