通常,我需要下载一个网页,然后离线对其进行编辑。我尝试了一些工具,它们缺少的主要功能是下载CSS文件中引用的图像。
是否有一个工具(用于Linux)可以下载所有内容,以便该网页可以离线呈现相同内容(不包括AJAX)?
wget –page-requisites http://example.com/your/page.html
此选项使Wget下载正确显示给定html页面所需的所有文件。这包括内联图像,声音和引用的样式表。
** Added support for CSS. This includes: - Parsing links from CSS files, and from CSS content found in HTML style tags and attributes. - Supporting conversion of links found within CSS content, when --convert-links is specified. - Ensuring that CSS files end in the ".css" filename extension, when --convert-links is specified.