wget 下载整站

来源:互联网 发布:阿尔及尔怎么样知乎 编辑:程序博客网 时间:2024/04/27 13:59

http://lameck.blog.163.com/blog/static/38811374201171610183672/


wget -r -p -np -k http://developer.chrome.com/extensions/

-r, --recursive(递归) specify recursive download.(指定递归下载)
-k, --convert-links(转换链接) make links in downloaded HTML point to local files.(将下载的HTML页面中的链接转换为相对链接即本地链接)
-p, --page-requisites(页面必需元素) get all images, etc. needed to display HTML page.(下载所有的图片等页面显示所需的内容)
-np, --no-parent(不追溯至父级) don't ascend to the parent directory.


原创粉丝点击