wget - HTML 重定向问题 [英] wget - HTML redirect issue
本文介绍了wget - HTML 重定向问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我无法让 wget 在以下链接上工作.(似乎是 HTML 重定向)
I can't get wget to work on the following link. (HTML redirect it seems)
在这里找到_http://www.limesurvey.org/en/stable-release
我搜索并尝试了不同的选项,但没有成功.帮助将被应用.谢谢.
I searched and tried different options, no success. Help would be appricated. Thanks.
推荐答案
查看您从该链接获得的 HTML:
Look at the HTML you get from that link:
<script>document.location.href='http://download.limesurvey.org/Latest_stable_release/limesurvey192plus-build120418.tar.gz';</script>
wget 不能执行 JS,所以你必须复制链接并 wget :
wget can't execute JS, so you have to copy the link and wget that:
wget http://download.limesurvey.org/Latest_stable_release/limesurvey192plus-build120418.tar.gz
这篇关于wget - HTML 重定向问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文