Home Made Garbage

wget memo to download whole file of page

お母ちゃん お母ちゃん  2018.11.13 
ホーム
電子工作
Raspberry Pi
IOT
WEB

Bring a whole page of CSS and images from the site

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.

Related Posts

コメントはこちらから

メールアドレスが公開されることはありません。コメントのみでもOKです。

This site uses Akismet to reduce spam. Learn how your comment data is processed.