{"id":86,"date":"2013-05-28T09:43:15","date_gmt":"2013-05-28T06:43:15","guid":{"rendered":"http:\/\/mednis.info\/wp\/?p=86"},"modified":"2013-05-28T09:49:29","modified_gmt":"2013-05-28T06:49:29","slug":"how-to-download-complete-website","status":"publish","type":"post","link":"http:\/\/mednis.info\/wp\/?p=86","title":{"rendered":"How to download a complete website"},"content":{"rendered":"<p>If you ever need to download an entire Web site, wget can do the job:<br \/>\n<code>wget \\<br \/>\n     --recursive \\<br \/>\n     --no-clobber \\<br \/>\n     --page-requisites \\<br \/>\n     --adjust-extension \\<br \/>\n     --convert-links \\<br \/>\n     --restrict-file-names=windows \\<br \/>\n     --domains example.com \\<br \/>\n     --no-parent http:\/\/example.com.lv\/thefolder\/<\/code><\/p>\n<p>The options are:<br \/>\n<code>--recursive<\/code>download the entire Web site.<\/p>\n<p><code>--domains example.com<\/code> don&#8217;t follow links outside example.com.<\/p>\n<p><code>--no-parent<\/code> don&#8217;t follow links outside the directory thefolder\/.<\/p>\n<p><code>--page-requisites<\/code> get all the elements that compose the page (images, CSS and so on).<\/p>\n<p><code>--html-extension<\/code> save files with the .html extension.<\/p>\n<p><code>--convert-links<\/code> convert links so that they work locally, off-line.<\/p>\n<p><code>--restrict-file-names=windows<\/code> modify filenames so that they will work in Windows as well.<\/p>\n<p><code>--no-clobber<\/code> don&#8217;t overwrite any existing files (used in case the download is interrupted and resumed).<\/p>\n<p>Also note that in wget 1.12, \u2013html-extension is renamed to \u2013adjust-extension<\/p>\n<p>The orignal resource: <a href=\"http:\/\/www.linuxjournal.com\/content\/downloading-entire-web-site-wget\" title=\"http:\/\/www.linuxjournal.com\/content\/downloading-entire-web-site-wget\" target=\"_blank\">http:\/\/www.linuxjournal.com\/&#8230;<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you ever need to download an entire Web site, wget can do the job: wget \\ &#8211;recursive \\ &#8211;no-clobber \\ &#8211;page-requisites \\ &#8211;adjust-extension \\ &#8211;convert-links \\ &#8211;restrict-file-names=windows \\ &#8211;domains example.com \\ &#8211;no-parent http:\/\/example.com.lv\/thefolder\/ The options are: &#8211;recursivedownload the entire Web site. &#8211;domains example.com don&#8217;t follow links outside example.com. &#8211;no-parent don&#8217;t follow links outside the &hellip; <a href=\"http:\/\/mednis.info\/wp\/?p=86\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">How to download a complete website<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[10,6,7,13],"tags":[],"_links":{"self":[{"href":"http:\/\/mednis.info\/wp\/index.php?rest_route=\/wp\/v2\/posts\/86"}],"collection":[{"href":"http:\/\/mednis.info\/wp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/mednis.info\/wp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/mednis.info\/wp\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/mednis.info\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=86"}],"version-history":[{"count":5,"href":"http:\/\/mednis.info\/wp\/index.php?rest_route=\/wp\/v2\/posts\/86\/revisions"}],"predecessor-version":[{"id":90,"href":"http:\/\/mednis.info\/wp\/index.php?rest_route=\/wp\/v2\/posts\/86\/revisions\/90"}],"wp:attachment":[{"href":"http:\/\/mednis.info\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=86"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/mednis.info\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=86"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/mednis.info\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=86"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}