En Linux tenemos un comando que nos permite obtener el codigo HTML de cualquier sitio web, lo cual lo podríamos utilizar para poder acceder y conocer como las grandes compañías estructuran su sitio web, para mejorar nuestra manera de estructurar nuestro sitio web en caso seamos desarrolladores web o para simplemente saber como esta estructurado una pagina web. Como primer paso ingresamos a nuestra terminal de Linux.
khalil@DESKTOP-UTEQH19:~$
Ahora hay dos maneras de obtener un código HTML de una página, primero lo haremos de una manera menos optima agregando el siguiente comando
curl www.google.com > index.html
Utilizamos “> index.html” para poder guardar todo el codigo HTML en un archivo llamada “index.html”, una vez ejecutado el codigo se creara el archivo y utilizamos cat para poder visualizar el archivo, el resultado seria el siguiente:
khalil@DESKTOP-UTEQH19:~/pagina$ cat index.html
<!doctype html><htmlitemscope=""itemtype="http://schema.org/WebPage"lang="es-419"><head><metacontent="text/html; charset=UTF-8"http-equiv="Content-Type"><metacontent="/images/branding/googleg/1x/googleg_standard_color_128dp.png"itemprop="image"><title>Google</title><scriptnonce="oc3FUmOjIfdQ4HuBj8YzHw">(function(){var _g={kEI:'jcuCZqL4Jdrc1sQPn7yl0A4',kEXPI:'0,3700288,654,439,6,448525,58574,34431,2891,3926,4423,3405,140983,43866,56411,2,39761,6700,41942,54827,2913,2,2,1,24626,2006,8155,8861,14490,22435,9779,62657,61945,11234,3030,17620,47082,1635,5265786,2358,890,622,39,5991770,2839759,16,527,242,5,52,19,1,6,40,3,5,23937750,4043710,14298,2374,43887,3,318,4,1281,3,2124363,23029351,12799,8409,10755,5909,22906,5121,36870,10511,2370,6407,2863,10982,10474,2479,2212,7968,214,39736,5553,4140,10085,11590,2482,522,3745,155,2484,4400,9104,6451,1284,6600,2539,968,540,3092,207,121,1539,1,1677,4,3004,6760,800,4,3997,2336,1695,4081,409,519,4408,3,85,362,5,856,151,859,660,5633,687,930,1810,3,186,818,1481,1446,1122,3,474,1297,154,425,4901,2,49,2,2881,1683,4620,1703,334,1816,1715,682,659,19,5387,270,34,475,1344,3224,217,107,753,243,494,1,571,199,369,353,1137,437,286,2,9,623,1736,1347,291,3,818,378,36,40,654,263,2128,5,244,295,834,365,298,43,1144,351,5,3,200,436,871,84,4,1,6,296,412,1575,367,3,94,445,1063,174,23,108,172,3,1,10,33,273,222,65,449,51,9,1,3,1,1117,162,2,896,206,7,1760,11,1819,1,6,41,249,445,108,883,401,340,2,690,609,55,504,624,219,24,427,4,27,43,871,127,291,17,349,63,4,1367,493,1113,578,57,441,11,108,68,516,720,18,621,580,17,21,708,223,316,321,764,496,12,3,1451,139,31,407,123,89,2,116,322,1806,155,118,98,2,230,847,650,737,130,577,671,417,342,1032,9,21181703,3695,365635,3,980,5,9851,7503,2206,20,1733,1221',kBL:'H1Dq',kOPI:89978449};(function(){var a;((a=window.google)==null?0:a.stvsc)?google.kEI=_g.kEI:window.google=_g;}).call(this);})();(function(){google.sn='webhp';google.kHL='es-419';})();(function(){
var h=this||self;functionl(){return window.google!==void0&&window.google.kOPI!==void0&&window.google.kOPI!==0?window.google.kOPI:null};var m,n=[];functionp(a){for(var b;a&&(!a.getAttribute||!(b=a.getAttribute("eid")));)a=a.parentNode;return b||m}functionq(a){for(var b=null;a&&(!a.getAttribute||!(b=a.getAttribute("leid")));)a=a.parentNode;return b}functionr(a){/^http:/i.test(a)&&window.location.protocol==="https:"&&(google.ml&&google.ml(Error("a"),!1,{src:a,glmm:1}),a="");return a}
functiont(a,b,c,d,k){var e="";b.search("&ei=")===-1&&(e="&ei="+p(d),b.search("&lei=")===-1&&(d=q(d))&&(e+="&lei="+d));d="";var g=b.search("&cshid=")===-1&&a!=="slh",f=[];f.push(["zx",Date.now().toString()]);h._cshid&&g&&f.push(["cshid",h._cshid]);c=c();c!=null&&f.push(["opi",c.toString()]);for(c=0;c<f.length;c++){if(c===0||c>0)d+="&";d+=f[c][0]+"="+f[c][1]}return"/"+(k||"gen_204")+"?atyp=i&ct="+String(a)+"&cad="+(b+e+d)};m=google.kEI;google.getEI=p;google.getLEI=q;google.ml=function(){returnnull};google.log=function(a,b,c,d,k,e){e=e===void0?l:e;c||(c=t(a,b,e,d,k));if(c=r(c)){a=new Image;var g=n.length;n[g]=a;a.onerror=a.onload=a.onabort=function(){delete n[g]};a.src=c}};google.logUrl=function(a,b){b=b===void0?l:b;return t("",a,b)};}).call(this);(function(){google.y={};google.sy=[];google.x=function(a,b){if(a)var c=a.id;else{do c=Math.random();while(google.y[c])}google.y[c]=[a,b];return!1};google.sx=function(a){google.sy.push(a)};google.lm=[];google.plm=function(a){google.lm.push.apply(google.lm,a)};google.lq=[];google.load=function(a,b,c){google.lq.push([[a],b,c])};google.loadAll=function(a,b){google.lq.push([a,b])};google.bx=!1;google.lx=function(){};var d=[];google.fce=function(a,b,c,e){d.push([a,b,c,e])};google.qce=d;}).call(this);google.f={};(function(){
document.documentElement.addEventListener("submit",function(b){var a;if(a=b.target){var c=a.getAttribute("data-submitfalse");a=c==="1"||c==="q"&&!a.elements.q.value?!0:!1}else a=!1;a&&(b.preventDefault(),b.stopPropagation())},!0);document.documentElement.addEventListener("click",function(b){var a;a:{for(a=b.target;a&&a!==document.documentElement;a=a.parentElement)if(a.tagName==="A"){a=a.getAttribute("data-nohref")==="1";break a}a=!1}a&&b.preventDefault()},!0);}).call(this);</script><style>#gbar,#guser{font-size:13px;padding-top:1px!important;}#gbar{height:22px}#guser{padding-bottom:7px!important;text-align:right}.gbh,.gbd{border-top:1px solid #c9d7f1;font-size:1px}.gbh{height:0;position:absolute;top:24px;width:100%}@media all{.gb1{height:22px;margin-right:.5em;vertical-align:top}#gbar{float:left}}a.gb1,a.gb4{text-decoration:underline !important}a.gb1,a.gb4{color:#00c!important}.gbi.gb4{color:#dd8e27!important}.gbf.gb4{color:#900!important}
</style><style>body,td,a,p,.h{font-family:arial,sans-serif}body{margin:0;overflow-y:scroll}#gog{padding:3px8px0}td{line-height:.8em}.gac_mtd{line-height:17px}form{margin-bottom:20px}.h{color:#1967d2}em{font-weight:bold;font-style:normal}.lst{height:25px;width:496px}.gsfi,.lst{font:18px arial,sans-serif}.gsfs{font:17px arial,sans-serif}.ds{display:inline-box;display:inline-block;margin:3px04px;margin-left:4px}input{font-family:inherit}body{background:#fff;color:#000}a{color:#681da8;text-decoration:none}a:hover,a:active{text-decoration:underline}.fla{color:#1967d2}a:visited{color:#681da8}.sblc{padding-top:5px}.sblca{display:block;margin:2px0;margin-left:13px;font-size:11px}.lsbb{background:#f8f9fa;border:solid 1px;border-color:#dadce0#70757a#70757a#dadce0;height:30px}.lsbb{display:block}#WqQANba{display:inline-block;margin:012px}.lsb{background:url(/images/nav_logo229.png) 0 -261px repeat-x;color:#000;border:none;cursor:pointer;height:30px;margin:0;outline:0;font:15px arial,sans-serif;vertical-align:top}.lsb:active{background:#dadce0}.lst:focus{outline:none}</style><scriptnonce="oc3FUmOjIfdQ4HuBj8YzHw">(function(){window.google.erd={jsr:1,bv:2033,de:true};
var h=this||self;var k,l=(k=h.mei)!=null?k:1,n,p=(n=h.sdo)!=null?n:!0,q=0,r,t=google.erd,v=t.jsr;google.ml=function(a,b,d,m,e){e=e===void0?2:e;b&&(r=a&&a.message);d===void0&&(d={});d.cad="ple_"+google.ple+".aple_"+google.aple;if(google.dl)return google.dl(a,e,d,!0),null;b=d;if(v<0){window.console&&console.error(a,b);if(v===-2)throw a;b=!1}else b=!a||!a.message||a.message==="Error loading script"||q>=l&&!m?!1:!0;if(!b)returnnull;q++;d=d||{};b=encodeURIComponent;var c="/gen_204?atyp=i&ei="+b(google.kEI);google.kEXPI&&(c+="&jexpid="+b(google.kEXPI));c+="&srcpg="+b(google.sn)+"&jsr="+b(t.jsr)+
"&bver="+b(t.bv);var f=a.lineNumber;f!==void0&&(c+="&line="+f);var g=a.fileName;g&&(g.indexOf("-extension:/")>0&&(e=3),c+="&script="+b(g),f&&g===window.location.href&&(f=document.documentElement.outerHTML.split("\n")[f],c+="&cad="+b(f?f.substring(0,300):"No script found.")));google.ple&&google.ple===1&&(e=2);c+="&jsel="+e;for(var u in d)c+="&",c+=b(u),c+="=",c+=b(d[u]);c=c+"&emsg="+b(a.name+": "+a.message);c=c+"&jsst="+b(a.stack||"N/A");c.length>=12288&&(c=c.substr(0,12288));a=c;m||google.log(0,"",a);return a};window.onerror=function(a,b,d,m,e){r!==a&&(a=e instanceofError?e:Error(a),d===void0||"lineNumber"in a||(a.lineNumber=d),b===void0||"fileName"in a||(a.fileName=b),google.ml(a,!1,void0,!1,a.name==="SyntaxError"||a.message.substring(0,11)==="SyntaxError"||a.message.indexOf("Script error")!==-1?3:0));r=null;p&&q>=l&&(window.onerror=null)};})();</script></head><bodybgcolor="#fff"><scriptnonce="oc3FUmOjIfdQ4HuBj8YzHw">(function(){var src='/images/nav_logo229.png';var iesg=false;document.body.onload = function(){window.n && window.n();if (document.images){new Image().src=src;}
if (!iesg){document.f&&document.f.q.focus();document.gbqf&&document.gbqf.q.focus();}
}
})();</script><divid="mngb"><divid=gbar><nobr><bclass=gb1>Bsqueda</b><aclass=gb1href="https://www.google.com/imghp?hl=es-419&tab=wi">Imgenes</a><aclass=gb1href="http://maps.google.com.pe/maps?hl=es-419&tab=wl">Maps</a><aclass=gb1href="https://play.google.com/?hl=es-419&tab=w8">Play</a><aclass=gb1href="https://www.youtube.com/?tab=w1">YouTube</a><aclass=gb1href="https://news.google.com/?tab=wn">Noticias</a><aclass=gb1href="https://mail.google.com/mail/?tab=wm">Gmail</a><aclass=gb1href="https://drive.google.com/?tab=wo">Drive</a><aclass=gb1style="text-decoration:none"href="https://www.google.com.pe/intl/es-419/about/products?tab=wh"><u>Ms</u> »</a></nobr></div><divid=guserwidth=100%><nobr><spanid=gbnclass=gbi></span><spanid=gbfclass=gbf></span><spanid=gbe></span><ahref="http://www.google.com.pe/history/optout?hl=es-419"class=gb4>Historial web</a> | <ahref="/preferences?hl=es-419"class=gb4>Preferencias</a> | <atarget=_topid=gb_70href="https://accounts.google.com/ServiceLogin?hl=es-419&passive=true&continue=http://www.google.com/&ec=GAZAAQ"class=gb4>Acceder</a></nobr></div><divclass=gbhstyle=left:0></div><divclass=gbhstyle=right:0></div></div><center><brclear="all"id="lgpd"><divid="lga"><imgalt="Google"height="92"src="/images/branding/googlelogo/1x/googlelogo_white_background_color_272x92dp.png"style="padding:28px 0 14px"width="272"id="hplogo"><br><br></div><formaction="/search"name="f"><tablecellpadding="0"cellspacing="0"><trvalign="top"><tdwidth="25%"> </td><tdalign="center"nowrap=""><inputname="ie"value="ISO-8859-1"type="hidden"><inputvalue="es-419"name="hl"type="hidden"><inputname="source"type="hidden"value="hp"><inputname="biw"type="hidden"><inputname="bih"type="hidden"><divclass="ds"style="height:32px;margin:4px 0"><inputclass="lst"style="margin:0;padding:5px 8px 0 6px;vertical-align:top;color:#000"autocomplete="off"value=""title="Buscar con Google"maxlength="2048"name="q"size="57"></div><brstyle="line-height:0"><spanclass="ds"><spanclass="lsbb"><inputclass="lsb"value="Buscar con Google"name="btnG"type="submit"></span></span><spanclass="ds"><spanclass="lsbb"><inputclass="lsb"id="tsuid_1"value="Voy a tener suerte"name="btnI"type="submit"><scriptnonce="oc3FUmOjIfdQ4HuBj8YzHw">(function(){var id='tsuid_1';document.getElementById(id).onclick = function(){if (this.form.q.value){this.checked = 1;if (this.form.iflsig)this.form.iflsig.disabled = false;}
else top.location='/doodles/';};})();</script><inputvalue="AL9hbdgAAAAAZoLZnbs5iX1Rn10g35jPBc5IUNwHQN-5"name="iflsig"type="hidden"></span></span></td><tdclass="fl sblc"align="left"nowrap=""width="25%"><ahref="/advanced_search?hl=es-419&authuser=0">Bsqueda avanzada</a></td></tr></table><inputid="gbv"name="gbv"type="hidden"value="1"><scriptnonce="oc3FUmOjIfdQ4HuBj8YzHw">(function(){var a,b="1";if(document&&document.getElementById)if(typeof XMLHttpRequest!="undefined")b="2";elseif(typeof ActiveXObject!="undefined"){var c,d,e=["MSXML2.XMLHTTP.6.0","MSXML2.XMLHTTP.3.0","MSXML2.XMLHTTP","Microsoft.XMLHTTP"];for(c=0;d=e[c++];)try{new ActiveXObject(d),b="2"}catch(h){}}a=b;if(a=="2"&&location.search.indexOf("&gbv=2")==-1){var f=google.gbvu,g=document.getElementById("gbv");g&&(g.value=a);f&&window.setTimeout(function(){location.href=f},0)};}).call(this);</script></form><divid="gac_scont"></div><divstyle="font-size:83%;min-height:3.5em"><br><divid="gws-output-pages-elements-homepage_additional_languages__als"><style>#gws-output-pages-elements-homepage_additional_languages__als{font-size:small;margin-bottom:24px}#SIvCob{color:#474747;display:inline-block;line-height:28px;}#SIvCoba{padding:03px;}.H6sW5{display:inline-block;margin:02px;white-space:nowrap}.z4hgWe{display:inline-block;margin:02px}</style><divid="SIvCob">Ofrecido por Google en: <ahref="http://www.google.com/setprefs?sig=0_QxpakbRLxlkMoNiK1HNeah8LGfk%3D&hl=qu&source=homepage&sa=X&ved=0ahUKEwji8uazlIaHAxVarpUCHR9eCeoQ2ZgBCAY">Quechua</a></div></div></div><spanid="footer"><divstyle="font-size:10pt"><divstyle="margin:19px auto;text-align:center"id="WqQANb"><ahref="/intl/es-419/ads/">Publicidad</a><ahref="/services/">Soluciones Empresariales</a><ahref="/intl/es-419/about.html">Todo acerca de Google</a><ahref="http://www.google.com/setprefdomain?prefdom=PE&prev=http://www.google.com.pe/&sig=K_Bo0A7x-uw8Jap0nblb69KEdXiKE%3D">Google.com.pe</a></div></div><pstyle="font-size:8pt;color:#70757a">© 2024 - <ahref="/intl/es-419/policies/privacy/">Privacidad</a> - <ahref="/intl/es-419/policies/terms/">Condiciones</a></p></span></center><scriptnonce="oc3FUmOjIfdQ4HuBj8YzHw">(function(){window.google.cdo={height:757,width:1440};(function(){var a=window.innerWidth,b=window.innerHeight;if(!a||!b){var c=window.document,d=c.compatMode=="CSS1Compat"?c.documentElement:c.body;a=d.clientWidth;b=d.clientHeight}
if(a&&b&&(a!=google.cdo.width||b!=google.cdo.height)){var e=google,f=e.log,g="/client_204?&atyp=i&biw="+a+"&bih="+b+"&ei="+google.kEI,h="",k=[],l=window.google!==void0&&window.google.kOPI!==void0&&window.google.kOPI!==0?window.google.kOPI:null;l!=null&&k.push(["opi",l.toString()]);for(var m=0;m<k.length;m++){if(m===0||m>0)h+="&";h+=k[m][0]+"="+k[m][1]}f.call(e,"","",g+h)};}).call(this);})();</script><scriptnonce="oc3FUmOjIfdQ4HuBj8YzHw">(function(){google.xjs={basecomb:'/xjs/_/js/k\x3dxjs.hp.en.PXRkTUT5lpc.O/ck\x3dxjs.hp.EKEqW5u2chQ.L.X.O/am\x3dAQAAgAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAGAAHAAAAIABAIAAAAAB4AAAAAAAAAAABAAYgAAAOxHcEAAKwCAAALw/d\x3d1/ed\x3d1/dg\x3d0/ujg\x3d1/rs\x3dACT90oHhY6TpoboLYuxBosdlCeqD8w3mEA',basecss:'/xjs/_/ss/k\x3dxjs.hp.EKEqW5u2chQ.L.X.O/am\x3dAQAAgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIABAIAAAAAAAAAAAAAAAAAABAAYg/rs\x3dACT90oG0NQNNWVI2lDoaqUX6K_anf4cnLw',basejs:'/xjs/_/js/k\x3dxjs.hp.en.PXRkTUT5lpc.O/am\x3dAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAGAAHAAAAAAAAAAAAAAB4AAAAAAAAAAAAAAAAAAAOxHcEAAKwCAAALw/dg\x3d0/rs\x3dACT90oEmNY5yiLKMuvboJPli6dVsNHHqOw',excm:[]};})();</script><linkhref="/xjs/_/ss/k=xjs.hp.EKEqW5u2chQ.L.X.O/am=AQAAgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIABAIAAAAAAAAAAAAAAAAAABAAYg/d=1/ed=1/rs=ACT90oG0NQNNWVI2lDoaqUX6K_anf4cnLw/m=sb_he,d"rel="stylesheet"nonce="oc3FUmOjIfdQ4HuBj8YzHw"><scriptnonce="oc3FUmOjIfdQ4HuBj8YzHw">(function(){var u='/xjs/_/js/k\x3dxjs.hp.en.PXRkTUT5lpc.O/am\x3dAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAGAAHAAAAAAAAAAAAAAB4AAAAAAAAAAAAAAAAAAAOxHcEAAKwCAAALw/d\x3d1/ed\x3d1/rs\x3dACT90oEmNY5yiLKMuvboJPli6dVsNHHqOw/m\x3dsb_he,d';var st=1;var amd=1000;var mmd=0;
var e=this||self,f=function(a){return a};var g;var h=function(a){this.g=a};h.prototype.toString=function(){returnthis.g+""};var k={};
functionl(a,b){a.src=b instanceof h&&b.constructor===h?b.g:"type_error:TrustedResourceUrl";var c,d;(c=(b=(d=(c=(a.ownerDocument&&a.ownerDocument.defaultView||window).document).querySelector)==null?void0:d.call(c,"script[nonce]"))?b.nonce||b.getAttribute("nonce")||"":"")&&a.setAttribute("nonce",c)};var m=function(){var a=document;var b="SCRIPT";a.contentType==="application/xhtml+xml"&&(b=b.toLowerCase());return a.createElement(b)};functionn(a){a=a===null?"null":a===void0?"undefined":a;if(g===void0){var b=null;var c=e.trustedTypes;if(c&&c.createPolicy){try{b=c.createPolicy("goog#html",{createHTML:f,createScript:f,createScriptURL:f})}catch(d){e.console&&e.console.error(d.message)}g=b}else g=b}a=(b=g)?b.createScriptURL(a):a;returnnew h(a,k)};google.ps===void0&&(google.ps=[]);functionp(){var a=u,b=function(){};google.lx=google.stvsc?b:function(){q(a);google.lx=b};google.bx||google.lx()}functionr(a,b){b&&l(a,n(b));var c=a.onload;a.onload=function(d){c&&c(d);google.ps=google.ps.filter(function(F){return a!==F})};google.ps.push(a);document.body.appendChild(a)}google.as=r;functionq(a){google.timers&&google.timers.load&&google.tick&&google.tick("load","xjsls");var b=m();b.onerror=function(){google.ple=1};b.onload=function(){google.ple=0};google.xjsus=void0;r(b,a);google.aple=-1;google.psa=!0};functiont(a){var b=a.getAttribute("jscontroller");return(b==="UBXHI"||b==="R3fhkb"||b==="TSZEqd")&&a.hasAttribute("data-src")}functionw(){for(var a=document.getElementsByTagName("img"),b=0,c=a.length;b<c;b++){var d=a[b];if(d.hasAttribute("data-lzy_")&&Number(d.getAttribute("data-atf"))&1&&!t(d))return!0}return!1}for(var x=document.getElementsByTagName("img"),y=0,z=x.length;y<z;++y){var A=x[y];Number(A.getAttribute("data-atf"))&1&&t(A)&&(A.src=A.getAttribute("data-src"))};var B,C,D,E;functionG(){google.xjsu=u;e._F_jsUrl=u;E=function(){p()};B=!1;C=(st===1||st===3)&&!!google.caft&&!w();D=(st===2||st===3)&&!!google.rairicb&&!w()}functionH(){B||C||D||(E(),B=!0)}setTimeout(function(){google&&google.tick&&google.timers&&google.timers.load&&google.tick("load","xjspls");G();if(C||D){if(C){var a=function(){C=!1;H()};google.caft(a);window.setTimeout(a,amd)}D&&(a=function(){D=!1;H()},(0,google.rairicb)(a),window.setTimeout(a,mmd))}else E()},0);})();window._ = window._ || {};window._DumpException = _._DumpException = function(e){throw e;};window._s = window._s || {};_s._DumpException = _._DumpException;window._qs = window._qs || {};_qs._DumpException = _._DumpException;(function(){var t=[1,2,0,0,0,83886080,0,655360,67567769,8388644,132096,503318784,0,0,274726928,58720264,292804,2278408,192512];window._F_toggles = window._xjs_toggles = t;})();function_F_installCss(c){}
(function(){google.jl={bfl:0,dw:false,ine:false,ubm:false,uwp:true,vs:false};})();(function(){var pmc='{\x22d\x22:{},\x22sb_he\x22:{\x22agen\x22:false,\x22cgen\x22:false,\x22client\x22:\x22heirloom-hp\x22,\x22dh\x22:true,\x22ds\x22:\x22\x22,\x22fl\x22:true,\x22host\x22:\x22google.com\x22,\x22jsonp\x22:true,\x22msgs\x22:{\x22cibl\x22:\x22Borrar b\\u00fasqueda\x22,\x22dym\x22:\x22Quiz\\u00e1s quisiste decir:\x22,\x22lcky\x22:\x22Voy a tener suerte\x22,\x22lml\x22:\x22M\\u00e1s informaci\\u00f3n\x22,\x22psrc\x22:\x22Se ha eliminado esta b\\u00fasqueda de tu \\u003Ca href\x3d\\\x22/history\\\x22\\u003EHistorial web\\u003C/a\\u003E\x22,\x22psrl\x22:\x22Eliminar\x22,\x22sbit\x22:\x22Buscar por im\\u00e1genes\x22,\x22srch\x22:\x22Buscar con Google\x22},\x22ovr\x22:{},\x22pq\x22:\x22\x22,\x22rfs\x22:[],\x22sbas\x22:\x220 3px 8px 0 rgba(0,0,0,0.2),0 0 0 1px rgba(0,0,0,0.08)\x22,\x22stok\x22:\x22FXkiChTZZHjRvUxjjQOiSp1oncM\x22}}';google.pmc=JSON.parse(pmc);})();(function(){var c=function(a){var b=0;returnfunction(){return b<a.length?{done:!1,value:a[b++]}:{done:!0}}};
var e=this||self;var g,h;a:{for(var k=["CLOSURE_FLAGS"],l=e,n=0;n<k.length;n++)if(l=l[k[n]],l==null){h=null;break a}h=l}var p=h&&h[610401301];g=p!=null?p:!1;var q,r=e.navigator;q=r?r.userAgentData||null:null;functiont(a){return g?q?q.brands.some(function(b){return(b=b.brand)&&b.indexOf(a)!=-1}):!1:!1}functionu(a){var b;a:{if(b=e.navigator)if(b=b.userAgent)break a;b=""}return b.indexOf(a)!=-1};functionv(){return g?!!q&&q.brands.length>0:!1}functionw(){return u("Safari")&&!(x()||(v()?0:u("Coast"))||(v()?0:u("Opera"))||(v()?0:u("Edge"))||(v()?t("Microsoft Edge"):u("Edg/"))||(v()?t("Opera"):u("OPR"))||u("Firefox")||u("FxiOS")||u("Silk")||u("Android"))}functionx(){return v()?t("Chromium"):(u("Chrome")||u("CriOS"))&&!(v()?0:u("Edge"))||u("Silk")}functiony(){return u("Android")&&!(x()||u("Firefox")||u("FxiOS")||(v()?0:u("Opera"))||u("Silk"))};var z=v()?!1:u("Trident")||u("MSIE");y();x();w();var A=typeofSymbol==="function"&&typeofSymbol()==="symbol",B;B=typeofSymbol==="function"&&typeofSymbol()==="symbol"?Symbol():void0;var C=[];(A?function(a,b){a[B]=b}:function(a,b){a.g!==void0?a.g=b:Object.defineProperties(a,{g:{value:b,configurable:!0,writable:!0,enumerable:!1}})})(C,55);Object.freeze(C);var D=function(){};Object.freeze(newfunction(){});Object.freeze(new D);Object.freeze(new D);var G=!z&&!w(),H=function(a){if(/-[a-z]/.test("ved"))returnnull;if(G&&a.dataset){if(y()&&!("ved"in a.dataset))returnnull;a=a.dataset.ved;return a===void0?null:a}return a.getAttribute("data-"+"ved".replace(/([A-Z])/g,"-$1").toLowerCase())};var I=[],J=null;functionK(a){a=a.target;var b=performance.now(),f=[],L=f.concat,d=I;if(!(d instanceofArray)){var m=typeofSymbol!="undefined"&&Symbol.iterator&&d[Symbol.iterator];if(m)d=m.call(d);elseif(typeof d.length=="number")d={next:c(d)};elsethrowError("b`"+String(d));for(var E=[];!(m=d.next()).done;)E.push(m.value);d=E}I=L.call(f,d,[b]);if(a&&a instanceof HTMLElement)if(a===J){if(b=I.length>=4)b=(I[I.length-1]-I[I.length-4])/1E3<5;if(b){b=google.getEI(a);a.hasAttribute("data-ved")?f=a?H(a)||"":"":f=(f=
a.closest("[data-ved]"))?H(f)||"":"";f=f||"";if(a.hasAttribute("jsname"))a=a.getAttribute("jsname");else{var F;a=(F=a.closest("[jsname]"))==null?void0:F.getAttribute("jsname")}google.log("rcm","&ei="+b+"&tgtved="+f+"&jsname="+(a||""))}}else J=a,I=[b]}window.document.addEventListener("DOMContentLoaded",function(){document.body.addEventListener("click",K)});}).call(this);</script></body></html>
Bien!!! aprendiste a como generar codigo HTML de cualquier sitio web usando el comando “curl” ahora te enseñare otro comando que sirve para tambien generar el codigo HTML de cualquier página pero de una manera mas optima. Utilizamos el comando “wget”
wget www.google.com
Una vez ejecutado el codigo, wget nos creara automaticamente un archivo “index.html” donde guardara todo la estructura HTML, lo leeremos con el comando “cat” y eso seria todo por este pequeño tutorial.