{"id":200,"date":"2013-01-08T17:23:19","date_gmt":"2013-01-08T17:23:19","guid":{"rendered":"http:\/\/tech.nes.aau.at\/?p=200"},"modified":"2013-01-08T17:24:36","modified_gmt":"2013-01-08T17:24:36","slug":"download-an-entire-web-site-for-off-line-viewing-with-wget","status":"publish","type":"post","link":"https:\/\/tech.nes.aau.at\/?p=200","title":{"rendered":"Download an entire Web site for off-line viewing with wget"},"content":{"rendered":"<p>$ wget \\<br \/>\n&#8211;recursive \\<br \/>\n&#8211;no-clobber \\<br \/>\n&#8211;page-requisites \\<br \/>\n&#8211;html-extension \\<br \/>\n&#8211;convert-links \\<br \/>\n&#8211;restrict-file-names=windows \\<br \/>\n&#8211;domains website.org \\<br \/>\n&#8211;no-parent \\<br \/>\nwww.website.org\/tutorials\/html\/<\/p>\n<p>This command downloads the Web site www.website.org\/tutorials\/html\/.<\/p>\n<p>The options are:<br \/>\n&#8211;recursive: download the entire Web site.<br \/>\n&#8211;domains website.org: don&#8217;t follow links outside website.org.<br \/>\n&#8211;no-parent: don&#8217;t follow links outside the directory tutorials\/html\/.<br \/>\n&#8211;page-requisites: get all the elements that compose the page (images, CSS and so on).<br \/>\n&#8211;html-extension: save files with the .html extension.<br \/>\n&#8211;convert-links: convert links so that they work locally, off-line.<br \/>\n&#8211;restrict-file-names=windows: modify filenames so that they will work in Windows as well.<br \/>\n&#8211;no-clobber: don&#8217;t overwrite any existing files (used in case the download is interrupted and resumed).<\/p>\n","protected":false},"excerpt":{"rendered":"<p>$ wget \\ &#8211;recursive \\ &#8211;no-clobber \\ &#8211;page-requisites \\ &#8211;html-extension \\ &#8211;convert-links \\ &#8211;restrict-file-names=windows \\ &#8211;domains website.org \\ &#8211;no-parent \\ www.website.org\/tutorials\/html\/ This command downloads the Web site www.website.org\/tutorials\/html\/. The options are: &#8211;recursive: download the entire Web site. &#8211;domains website.org: don&#8217;t &hellip; <a href=\"https:\/\/tech.nes.aau.at\/?p=200\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[27,14],"tags":[50,17,15,25],"class_list":["post-200","post","type-post","status-publish","format-standard","hentry","category-tips","category-tools","tag-tips","tag-tool","tag-useful","tag-web"],"_links":{"self":[{"href":"https:\/\/tech.nes.aau.at\/index.php?rest_route=\/wp\/v2\/posts\/200","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tech.nes.aau.at\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tech.nes.aau.at\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tech.nes.aau.at\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/tech.nes.aau.at\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=200"}],"version-history":[{"count":4,"href":"https:\/\/tech.nes.aau.at\/index.php?rest_route=\/wp\/v2\/posts\/200\/revisions"}],"predecessor-version":[{"id":203,"href":"https:\/\/tech.nes.aau.at\/index.php?rest_route=\/wp\/v2\/posts\/200\/revisions\/203"}],"wp:attachment":[{"href":"https:\/\/tech.nes.aau.at\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=200"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tech.nes.aau.at\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=200"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tech.nes.aau.at\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=200"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}