且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

在 linux 服务器上保存完整网页的***方法是什么?

更新时间:2022-11-11 22:04:21

wget 可以做到,例如:

wget -r http://example.com/

这将反映整个 example.com 网站.

This will mirror the whole example.com site.

一些有趣的选项是:

-Dexample.com:不要关注其他域的链接
--html-extension: 将 text/html content-type 的页面重命名为 .html

-Dexample.com: do not follow links of other domains
--html-extension: renames pages with text/html content-type to .html

手册:http://www.gnu.org/software/wget/manual/