Save a single web page (with background images) with Wget
Solution 1:
From the Wget man page:
Actually, to download a single page and all its requisites (even if they exist on separate websites), and make sure the lot displays properly locally, this author likes to use a few options in addition to ‘-p’:
wget -E -H -k -K -p http://www.example.com/
Also in case robots.txt
is disallowing you add -e robots=off
Solution 2:
The wget
command offers the option --mirror
, which does the same thing as:
$ wget -r -N -l inf --no-remove-listing
You can also throw in -x
to create a whole directory hierarchy for the site, including the hostname.
You might not have been able to find this if you aren't using the newest version of wget
however.