wget --page-requisites http:
This option causes Wget to download all the files necessary for the given html page to display correctly. This includes things like inline images, sounds, and style sheets.
EDIT: mediator is right: stock wget does not analyze or download css images. There is, however, a patch that adds this feature: [ 1 , 2 ] cases>
UPDATE: the patch mentioned above was merged with wget 1.12 released on September 22, 2009:
** 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.
ax. Oct 17 '09 at 6:10 2009-10-17 06:10
source share