{"id":3135,"date":"2020-03-23T22:31:26","date_gmt":"2020-03-24T03:31:26","guid":{"rendered":"http:\/\/www.incredigeek.com\/home\/?p=3135"},"modified":"2020-03-23T22:31:27","modified_gmt":"2020-03-24T03:31:27","slug":"using-wget-to-download-html-website","status":"publish","type":"post","link":"https:\/\/www.incredigeek.com\/home\/using-wget-to-download-html-website\/","title":{"rendered":"Using wget to download HTML website"},"content":{"rendered":"\n<p><a href=\"https:\/\/apple.stackexchange.com\/questions\/100570\/getting-all-files-from-a-web-page-using-curl\">https:\/\/apple.stackexchange.com\/questions\/100570\/getting-all-files-from-a-web-page-using-curl<\/a><\/p>\n\n\n\n<p>Replace example.com\/website with the website you want to download files from.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>wget -r -np -k http:\/\/example.com\/website\/<\/code><\/pre>\n\n\n\n<p>The above command will download all the files it can find in that web directory, i.e. (html files)  This can be helpful if your trying to move a simple HTML site.<\/p>\n\n\n\n<p>The -r option means recursive, the -k option converts the links to local links after it downloads the page.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>https:\/\/apple.stackexchange.com\/questions\/100570\/getting-all-files-from-a-web-page-using-curl Replace example.com\/website with the website you want to download files from. wget -r -np -k http:\/\/example.com\/website\/ The above command will download all the files it can find in that web directory, i.e. (html files) This can be helpful if &hellip; <a href=\"https:\/\/www.incredigeek.com\/home\/using-wget-to-download-html-website\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[44],"tags":[226,947,756,38],"class_list":["post-3135","post","type-post","status-publish","format-standard","hentry","category-web","tag-download","tag-html","tag-website","tag-wget"],"_links":{"self":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts\/3135","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/comments?post=3135"}],"version-history":[{"count":1,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts\/3135\/revisions"}],"predecessor-version":[{"id":3136,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts\/3135\/revisions\/3136"}],"wp:attachment":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/media?parent=3135"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/categories?post=3135"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/tags?post=3135"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}