Skip to content

Instantly share code, notes, and snippets.

@liuyu121
Last active August 29, 2015 14:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save liuyu121/48c0b88cc50827335442 to your computer and use it in GitHub Desktop.
Save liuyu121/48c0b88cc50827335442 to your computer and use it in GitHub Desktop.
wget download all site
wget -r -p -np -k http://golang.org
-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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment