wget memo to download whole file of page
Bring a whole page of CSS and images from the site
1 |
wget-P-H-E-NH-K HTTPS://HOMEMADEGARBAGE.COM/WGET-DL |
Can be DL in the form that can be displayed locally.
I forgot whether I was allowed to reference the site somewhere 😥
目次
Meaning of options
wget-UNIX/Linux command-quote from it Senka
P
-P,–page-requisites During recursive download with the HTTP protocol, if the document is retrieved, all resources required by the document are downloaded.
H
-H,–span-hosts When a recursive download is performed, the document is parsed and collected in a way that crosses multiple servers.
E
-E,–html-extension If the file name does not end with “. html” When you download XHTML or HTML data, save it with a file name appended with “. html” at the end.
-NH
-NH,–no-host-directories prohibits the creation of a directory with a name that starts with a connected server name or IP address.
-K.
-K,–convert-links When downloaded recursively, rewrite the downloaded document so that the reference to the external file is valid.