wget memo to download whole file of page

お母ちゃん  2018.11.13 
Home > 電子工作 > wget memo to download whole file of page
すき 0
うんこ 0

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.

コメントはこちらから

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

このサイトはスパムを低減するために Akismet を使っています。コメントデータの処理方法の詳細はこちらをご覧ください