-1

我正在尝试没有任何选项,例如 wget www.example.com 它仍然下载比主 html 文件更多的文件。有没有办法避免下载它们?

4

1 回答 1

2

Wget 永远不会包含 css、js、图像或 flash 内容。它只会下载 html(如果您将 url 传递给 html 文件):

wget http://www.myserver.de/index.html

这会将 index.html 保存在当前文件夹中(仅此而已)

于 2013-11-02T09:59:43.237 回答