---
title: "wget 整站下载"
author: "liseor"
date: "2011-07-27T14:11:24Z"
tags: []
categories: ["编程语言"]
slug: "wget"
draft: false
lastmod: "2011-07-27T14:11:24Z"
id: 1133971
url: "https://liseor.iteye.com/blog/1133971"
---

以前知道  但是用的时候老是要忘记 现在摘抄一下 防止忘记  
wget -r -p -np -k [http://www.gtk.org/tutorial/](http://www.gtk.org/tutorial/)

-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（不追溯至父级）