{"id":1834,"date":"2014-08-20T17:10:00","date_gmt":"2014-08-20T22:10:00","guid":{"rendered":"http:\/\/linuxitos.com\/main\/descargar-una-pagina-web-con-wget\/"},"modified":"2014-08-20T17:10:00","modified_gmt":"2014-08-20T22:10:00","slug":"descargar-una-pagina-web-con-wget","status":"publish","type":"post","link":"https:\/\/linuxitos.com\/main\/descargar-una-pagina-web-con-wget\/","title":{"rendered":"Descargar una p\u00e1gina web con wget"},"content":{"rendered":"<p><a href=\"http:\/\/es.wikipedia.org\/wiki\/GNU_Wget\" style=\"background-color: #fafafa; border-bottom-color: rgba(0, 0, 0, 0.0980392); border-bottom-style: solid; border-bottom-width: 1px; box-sizing: border-box; color: #428bca; font-family: Roboto, Verdana, Helvetica, sans-serif; font-size: 15px; line-height: 22.5px; text-decoration: none;\" target=\"_blank\" title=\"Art\u00edculo en Wikipedia\"><strong style=\"box-sizing: border-box;\">Wikipedia<\/strong><\/a><span style=\"background-color: #fafafa; color: #444444; font-family: Roboto, Verdana, Helvetica, sans-serif; font-size: 15px; line-height: 22.5px;\">&nbsp;&nbsp;explica en que consiste esta herramienta de la siguiente manera.<\/span><br \/><span style=\"background-color: #fafafa; color: #444444; font-family: Roboto, Verdana, Helvetica, sans-serif; font-size: 15px; line-height: 22.5px;\"><br \/><\/span><\/p>\n<div style=\"background-color: #fafafa; box-sizing: border-box; color: #444444; font-family: Roboto, Verdana, Helvetica, sans-serif; font-size: 17.5px; line-height: 1.25; margin-bottom: 10px; text-align: justify;\"><em style=\"box-sizing: border-box;\"><strong style=\"box-sizing: border-box;\">GNU Wget<\/strong>&nbsp;es una herramienta de&nbsp;<a href=\"http:\/\/wiki.ipichcb.rimed.cu:8080\/A\/Software%20libre.html\" style=\"box-sizing: border-box; color: #428bca; text-decoration: none;\" title=\"Software libre\">software libre<\/a>&nbsp;que permite la descarga de contenidos desde&nbsp;<a href=\"http:\/\/wiki.ipichcb.rimed.cu:8080\/A\/Servidor%20web.html\" style=\"box-sizing: border-box; color: #428bca; text-decoration: none;\" title=\"Servidor web\">servidores web<\/a>&nbsp;de una forma simple. Su nombre deriva de&nbsp;<a href=\"http:\/\/wiki.ipichcb.rimed.cu:8080\/A\/World%20Wide%20Web.html\" style=\"box-sizing: border-box; color: #428bca; text-decoration: none;\" title=\"World Wide Web\">World Wide Web<\/a>&nbsp;(w), y de \u00abobtener\u00bb (en&nbsp;<a href=\"http:\/\/wiki.ipichcb.rimed.cu:8080\/A\/Idioma%20ingl%C3%A9s.html\" style=\"box-sizing: border-box; color: #428bca; text-decoration: none;\" title=\"Idioma ingl\u00e9s\">ingl\u00e9s<\/a>&nbsp;get), esto quiere decir: obtener desde la WWW.<\/em><\/div>\n<div style=\"background-color: #fafafa; box-sizing: border-box; color: #444444; font-family: Roboto, Verdana, Helvetica, sans-serif; font-size: 17.5px; line-height: 1.25; margin-bottom: 10px; text-align: justify;\"><em style=\"box-sizing: border-box;\">Actualmente soporta descargas mediante los protocolos&nbsp;<a href=\"http:\/\/wiki.ipichcb.rimed.cu:8080\/A\/HTTP.html\" style=\"box-sizing: border-box; color: #428bca; text-decoration: none;\" title=\"HTTP\">HTTP<\/a>,&nbsp;<a href=\"http:\/\/wiki.ipichcb.rimed.cu:8080\/A\/HTTPS.html\" style=\"box-sizing: border-box; color: #428bca; text-decoration: none;\" title=\"HTTPS\">HTTPS<\/a>&nbsp;y&nbsp;<a href=\"http:\/\/wiki.ipichcb.rimed.cu:8080\/A\/File%20Transfer%20Protocol.html\" style=\"box-sizing: border-box; color: #428bca; text-decoration: none;\" title=\"File Transfer Protocol\">FTP<\/a>.<\/em><\/div>\n<div style=\"background-color: #fafafa; box-sizing: border-box; color: #444444; font-family: Roboto, Verdana, Helvetica, sans-serif; font-size: 17.5px; line-height: 1.25; text-align: justify;\"><em style=\"box-sizing: border-box;\">Entre las caracter\u00edsticas m\u00e1s destacadas que ofrece&nbsp;<strong style=\"box-sizing: border-box;\">wget<\/strong>&nbsp;est\u00e1 la posibilidad de f\u00e1cil descarga de mirrors (espejos) complejos de forma recursiva, conversi\u00f3n de enlaces para la visualizaci\u00f3n de contenidos&nbsp;<a href=\"http:\/\/wiki.ipichcb.rimed.cu:8080\/A\/HTML.html\" style=\"box-sizing: border-box; color: #428bca; text-decoration: none;\" title=\"HTML\">HTML<\/a>&nbsp;localmente, soporte para&nbsp;<a href=\"http:\/\/wiki.ipichcb.rimed.cu:8080\/A\/Proxy.html\" style=\"box-sizing: border-box; color: #428bca; text-decoration: none;\" title=\"Proxy\">proxies<\/a>\u2026<\/em><\/div>\n<div style=\"background-color: #fafafa; box-sizing: border-box; color: #444444; font-family: Roboto, Verdana, Helvetica, sans-serif; font-size: 17.5px; line-height: 1.25; text-align: justify;\"><em style=\"box-sizing: border-box;\"><br \/><\/em><\/div>\n<div style=\"background-color: #fafafa; box-sizing: border-box; color: #444444; font-family: Roboto, Verdana, Helvetica, sans-serif; font-size: 17.5px; line-height: 1.25; text-align: justify;\"><em style=\"box-sizing: border-box;\"><span style=\"font-size: 15px; font-style: normal; line-height: 22.5px; text-align: start;\">Veamos un par de ejemplo, comencemos con el uso sencillo de la herramienta.<\/span><\/em><\/div>\n<div style=\"background-color: #fafafa; box-sizing: border-box; color: #444444; font-family: Roboto, Verdana, Helvetica, sans-serif; font-size: 17.5px; line-height: 1.25; text-align: justify;\"><em style=\"box-sizing: border-box;\"><span style=\"font-size: 15px; font-style: normal; line-height: 22.5px; text-align: start;\">Para bajar una p\u00e1gina:<\/span><\/em><\/div>\n<div style=\"box-sizing: border-box; color: #444444; font-family: Roboto, Verdana, Helvetica, sans-serif; font-size: 15px; line-height: 22.5px; margin-bottom: 25px; margin-top: 25px;\"><code style=\"background: url(http:\/\/blog.desdelinux.net\/wp-content\/themes\/DesdeLinuxV5\/img\/terminal.png) 50% 0% no-repeat scroll rgb(45, 45, 45); border-bottom-left-radius: 4px; border-bottom-right-radius: 4px; border-top-left-radius: 4px; border-top-right-radius: 4px; border: 1px solid rgb(0, 0, 0); box-sizing: border-box; color: #828fff; display: block; font-family: 'Roboto Mono', Consolas, monaco, monospace; font-size: 14px; margin: 8px 15px; padding: 30px 4px 10px; text-shadow: none; white-space: pre-wrap;\"><strong style=\"box-sizing: border-box;\">$ wget http:\/\/mignome.blogspot.mx<\/strong><\/code><\/div>\n<div style=\"background-color: #fafafa; box-sizing: border-box; color: #444444; font-family: Roboto, Verdana, Helvetica, sans-serif; font-size: 17.5px; line-height: 1.25; text-align: justify;\"><em style=\"box-sizing: border-box;\"><\/em><\/div>\n<div style=\"box-sizing: border-box; font-size: 15px; font-style: normal; line-height: 22.5px; margin-bottom: 25px; margin-top: 25px; text-align: start;\"><em style=\"box-sizing: border-box;\"><strong style=\"box-sizing: border-box;\"><\/strong><\/em><\/div>\n<p><\/p>\n<div style=\"box-sizing: border-box; color: #444444; font-family: Roboto, Verdana, Helvetica, sans-serif; font-size: 15px; line-height: 22.5px; margin-bottom: 25px; margin-top: 25px;\">Para bajar el sitio completo de forma recursiva, incluyendo im\u00e1genes y otros tipos de datos:<\/div>\n<div style=\"box-sizing: border-box; color: #444444; font-family: Roboto, Verdana, Helvetica, sans-serif; font-size: 15px; line-height: 22.5px; margin-bottom: 25px; margin-top: 25px;\"><strong style=\"box-sizing: border-box;\"><code style=\"background: url(http:\/\/blog.desdelinux.net\/wp-content\/themes\/DesdeLinuxV5\/img\/terminal.png) 50% 0% no-repeat scroll rgb(45, 45, 45); border-bottom-left-radius: 4px; border-bottom-right-radius: 4px; border-top-left-radius: 4px; border-top-right-radius: 4px; border: 1px solid rgb(0, 0, 0); box-sizing: border-box; color: #828fff; display: block; font-family: 'Roboto Mono', Consolas, monaco, monospace; font-size: 14px; font-weight: normal; margin: 8px 15px; padding: 30px 4px 10px; text-shadow: none; white-space: pre-wrap;\">$ wget -r http:\/\/mignome.blogspot.mx\/<\/code><\/strong><\/div>\n<div style=\"box-sizing: border-box; color: #444444; font-family: Roboto, Verdana, Helvetica, sans-serif; font-size: 15px; line-height: 22.5px; margin-bottom: 25px; margin-top: 25px;\">Muchos sitios verifican la identidad del navegador para aplicar diversas restricciones. Con&nbsp;<strong style=\"box-sizing: border-box;\">Wget<\/strong>&nbsp;podemos burlar esto de la siguiente forma:<\/div>\n<div style=\"box-sizing: border-box; color: #444444; font-family: Roboto, Verdana, Helvetica, sans-serif; font-size: 15px; line-height: 22.5px; margin-bottom: 25px; margin-top: 25px;\"><strong style=\"box-sizing: border-box;\"><code style=\"background: url(http:\/\/blog.desdelinux.net\/wp-content\/themes\/DesdeLinuxV5\/img\/terminal.png) 50% 0% no-repeat scroll rgb(45, 45, 45); border-bottom-left-radius: 4px; border-bottom-right-radius: 4px; border-top-left-radius: 4px; border-top-right-radius: 4px; border: 1px solid rgb(0, 0, 0); box-sizing: border-box; color: #828fff; display: block; font-family: 'Roboto Mono', Consolas, monaco, monospace; font-size: 14px; font-weight: normal; margin: 8px 15px; padding: 30px 4px 10px; text-shadow: none; white-space: pre-wrap;\">wget&nbsp; -r -p -U Mozilla http:\/\/mignome.blogspot.mx\/<\/code><\/strong><\/div>\n<div style=\"box-sizing: border-box; color: #444444; font-family: Roboto, Verdana, Helvetica, sans-serif; font-size: 15px; line-height: 22.5px; margin-bottom: 25px; margin-top: 25px;\">O tambi\u00e9n podemos hacer pausa entre cada p\u00e1gina, ya que de lo contrario el due\u00f1o del sitio puede darse cuenta que e estamos bajando el sitio completamente con&nbsp;<strong style=\"box-sizing: border-box;\">Wget<\/strong>.<\/div>\n<div style=\"box-sizing: border-box; color: #444444; font-family: Roboto, Verdana, Helvetica, sans-serif; font-size: 15px; line-height: 22.5px; margin-bottom: 25px; margin-top: 25px;\"><strong style=\"box-sizing: border-box;\"><code style=\"background: url(http:\/\/blog.desdelinux.net\/wp-content\/themes\/DesdeLinuxV5\/img\/terminal.png) 50% 0% no-repeat scroll rgb(45, 45, 45); border-bottom-left-radius: 4px; border-bottom-right-radius: 4px; border-top-left-radius: 4px; border-top-right-radius: 4px; border: 1px solid rgb(0, 0, 0); box-sizing: border-box; color: #828fff; display: block; font-family: 'Roboto Mono', Consolas, monaco, monospace; font-size: 14px; font-weight: normal; margin: 8px 15px; padding: 30px 4px 10px; text-shadow: none; white-space: pre-wrap;\">wget --wait=20 --limit-rate=20K -r -p -U Mozilla http:\/\/mignome.blogspot.mx\/<\/code><\/strong><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Wikipedia&nbsp;&nbsp;explica en que consiste esta herramienta de la siguiente manera. GNU Wget&nbsp;es una herramienta de&nbsp;software libre&nbsp;que permite la descarga de contenidos desde&nbsp;servidores web&nbsp;de una forma simple. Su nombre deriva de&nbsp;World Wide Web&nbsp;(w), y de \u00abobtener\u00bb (en&nbsp;ingl\u00e9s&nbsp;get), esto quiere decir: obtener desde la WWW. Actualmente soporta descargas mediante los protocolos&nbsp;HTTP,&nbsp;HTTPS&nbsp;y&nbsp;FTP. Entre las caracter\u00edsticas m\u00e1s destacadas que [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1482,7,87,4,1481,220,1480],"tags":[],"class_list":["post-1834","post","type-post","status-publish","format-standard","hentry","category-descargar-pagina-web","category-fedora","category-gnome","category-linux","category-pagina-web","category-terminal","category-wget"],"_links":{"self":[{"href":"https:\/\/linuxitos.com\/main\/wp-json\/wp\/v2\/posts\/1834","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/linuxitos.com\/main\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/linuxitos.com\/main\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/linuxitos.com\/main\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/linuxitos.com\/main\/wp-json\/wp\/v2\/comments?post=1834"}],"version-history":[{"count":0,"href":"https:\/\/linuxitos.com\/main\/wp-json\/wp\/v2\/posts\/1834\/revisions"}],"wp:attachment":[{"href":"https:\/\/linuxitos.com\/main\/wp-json\/wp\/v2\/media?parent=1834"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/linuxitos.com\/main\/wp-json\/wp\/v2\/categories?post=1834"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/linuxitos.com\/main\/wp-json\/wp\/v2\/tags?post=1834"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}