Get the App
SLTechnology News&Howtos  ›  Servers  › 

How to use wget Recursive Mirror site

Shulou Source: shulou.com Published: 2022-06-01 13:46:44 11月17日 Update

This article mainly introduces how to use wget recursive mirror site, has a certain reference value, interested friends can refer to, I hope you can learn a lot after reading this article, the following let Xiaobian take you to understand.

The wget command downloads the entire site recursively and converts links in the downloaded page to local links.

When you add parameters to wget, you can become a fairly powerful download tool.

Detailed explanation of wget command

Wget-r-p-np-k http://xxx.com/xxx

-r,-- recursive (recursive) specify recursive download. (specify recursive download)

-k,-- convert-links (convert links) make links in downloaded HTML point to local files. (convert links in downloaded HTML pages to relative links, that is, local links)

-p,-- page-requisites (required elements of the page) get all images, etc. Needed to display HTML page. (download all the pictures and other pages to display the required content)

-np,-- no-parent (not traced back to the parent) don't ascend to the parent directory.

In addition, breakpoint continuation-nc parameter log-o parameter

Try peeling on my own website.

Execution

Wget-r-p-np-k https://xxx.com/

Command

This entry was posted in server and tagged wget, mirror website. Bookmark the permalink.

Thank you for reading this article carefully. I hope the article "how to use wget Recursive Mirror website" shared by the editor will be helpful to you. At the same time, I also hope you will support us and pay attention to the industry information channel. More related knowledge is waiting for you to learn!

Tags: Links recursion websites articles pages images parameters commands powerful download tools values elements interests content at the same time pictures tools breakpoints ways logs Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Apple Redmi Microsoft vpn NVidia