我对通过 Internet 存档以编程方式保存 URL 很感兴趣。我这样做的方式 https://web.archive.org/save/ {我的链接}。
现在我一直在使用 this stackoverflow回答,但它不能一直跟进。
curl https://web.archive.org/save/{myLink} -s -L -o /dev/null -w '%{url_effective}'
最佳答案
curl https://web.archive.org/save/<<<url>>> -s -I | grep Content-Location | awk '{print "http://web.archive.org/save" $2}'
关于linux - 在 Internet 存档上重定向后获取 URL,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/54870009/