{"id":2783,"date":"2019-04-22T15:49:51","date_gmt":"2019-04-22T22:49:51","guid":{"rendered":"http:\/\/www.wellgolly.com\/?p=2783"},"modified":"2019-04-26T09:54:56","modified_gmt":"2019-04-26T16:54:56","slug":"wget","status":"publish","type":"post","link":"https:\/\/www.wellgolly.com\/?p=2783","title":{"rendered":"wget"},"content":{"rendered":"<p>Occasionally I run across a site that has a bunch of PDFs that I want to read. This wget lets me download them for later reading.<\/p>\n<p><pre><code class=\"preserve-code-formatting\">\nwget -r -np -l 1 -A pdf http:\/\/example.com\/pagewithpdf.html<\/code><\/pre><\/p>\n<p>If you want to use the downloaded website for local browsing, you will need to pass a few extra arguments to the command above.<\/p>\n<p><code class=\"preserve-code-formatting\">wget -m -k -p https:\/\/example.com<\/code><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Occasionally I run across a site that has a bunch of PDFs that I want to read. This wget lets me download them for later reading. wget -r -np -l 1 -A pdf http:\/\/example.com\/pagewithpdf.html If you want to use the downloaded website for local browsing, you will need to pass a few extra arguments to &hellip; <a href=\"https:\/\/www.wellgolly.com\/?p=2783\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">wget<\/span><\/a><\/p>\n","protected":false},"author":6,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8],"tags":[],"class_list":["post-2783","post","type-post","status-publish","format-standard","hentry","category-coding"],"_links":{"self":[{"href":"https:\/\/www.wellgolly.com\/index.php?rest_route=\/wp\/v2\/posts\/2783","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wellgolly.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wellgolly.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wellgolly.com\/index.php?rest_route=\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wellgolly.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2783"}],"version-history":[{"count":3,"href":"https:\/\/www.wellgolly.com\/index.php?rest_route=\/wp\/v2\/posts\/2783\/revisions"}],"predecessor-version":[{"id":2786,"href":"https:\/\/www.wellgolly.com\/index.php?rest_route=\/wp\/v2\/posts\/2783\/revisions\/2786"}],"wp:attachment":[{"href":"https:\/\/www.wellgolly.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2783"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wellgolly.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2783"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wellgolly.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2783"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}