在 Internet 存档上重定向后获得 URL
Get URL after Redirect on the Internet Archive
我对通过 Internet 存档以编程方式保存 URL 很感兴趣。我这样做的方式 https://web.archive.org/save/{myLink}。
现在我一直在使用 this Whosebug 答案,但它无法一直跟进。
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" }'
我对通过 Internet 存档以编程方式保存 URL 很感兴趣。我这样做的方式 https://web.archive.org/save/{myLink}。
现在我一直在使用 this Whosebug 答案,但它无法一直跟进。
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" }'