JackCollins

JackCollins / getSourceCode / 0.2.0

getSourceCode

Royalty Free API Calls - 83
Return the source code of a given URL
Permissions
The Algorithm Platform License is the set of terms that are stated in the Software License section of the Algorithmia Application Developer and API License Agreement. It is intended to allow users to reserve as many rights as possible without limiting Algorithmia's ability to run it as a service. Learn More
This is necessary for algorithms that rely on external services, however it also implies that this algorithm is able to send your input data outside of the Algorithmia platform.

Run an Example

Input
Output
"<!DOCTYPE html>\n<html itemscope=\"\" itemtype=\"http://schema.org/WebPage\" lang=\"en\">\n <head>\n  <meta content=\"Search the world's information, including webpages, images, videos and more. Google has many special features to help you find exactly what you're looking for.\" name=\"description\" />\n  <meta content=\"noodp\" name=\"robots\" />\n  <meta content=\"text/html; charset=UTF-8\" http-equiv=\"Content-Type\" />\n  <meta content=\"/images/branding/googleg/1x/googleg_standard_color_128dp.png\" itemprop=\"image\" />\n  <title>Google</title>\n  <script>(function(){window.google={kEI:'RlDEVr2QM8eveMeLu4gM',kEXPI:'8878,3700303,4028875,4029815,4031109,4032677,4033307,4036509,4036527,4038012,4039268,4041302,4042784,4042792,4043492,4044606,4045841,4046304,4048042,4048909,4049501,4049549,4049557,4050886,4050908,4051241,4051596,4052304,4053843,4054224,4054284,4054551,4055202,4055777,4056038,4056162,4056589,4057136,4057169,4057586,4057836,4058004,4058117,4058277,4058315,4058337,4058624,4059021,4059318,4059326,4059347,4059436,4059504,4059512,4059831,4059978,4059982,4060657,4060683,8300096,8300272,8300310,8502095,8502315,8502348,8502452,8502691,8502986,8503012,8503039,8503151,8503212,8503303,8503306,8503366,8503404,10200083,10201287,10201629,10201636',authuser:0,kscs:'c9c918f0_24'};google.kHL='en';})();(function(){google.lc=[];google.li=0;google.getEI=function(a){for(var b;a&&(!a.getAttribute||!(b=a.getAttribute(\"eid\")));)a=a.parentNode;return b||google.kEI};google.getLEI=function(a){for(var b=null;a&&(!a.getAttribute||!(b=a.getAttribute(\"leid\")));)a=a.parentNode;return b};google.https=function(){return\"https:\"==window.location.protocol};google.ml=function(){return null};google.wl=function(a,b){try{google.ml(Error(a),!1,b)}catch(d){}};google.time=function(){return(new Date).getTime()};google.log=function(a,b,d,e,g){a=google.logUrl(a,b,d,e,g);if(\"\"!=a){b=new Image;var c=google.lc,f=google.li;c[f]=b;b.onerror=b.onload=b.onabort=function(){delete c[f]};window.google&&window.google.vel&&window.google.vel.lu&&window.google.vel.lu(a);b.src=a;google.li=f+1}};google.logUrl=function(a,b,d,e,g){var c=\"\",f=google.ls||\"\";if(!d&&-1==b.search(\"&ei=\")){var h=google.getEI(e),c=\"&ei=\"+h;-1==b.search(\"&lei=\")&&((e=google.getLEI(e))?c+=\"&lei=\"+e:h!=google.kEI&&(c+=\"&lei=\"+google.kEI))}a=d||\"/\"+(g||\"gen_204\")+\"?atyp=i&ct=\"+a+\"&cad=\"+b+c+f+\"&zx=\"+google.time();/^http:/i.test(a)&&google.https()&&(google.ml(Error(\"a\"),!1,{src:a,glmm:1}),a=\"\");return a};google.y={};google.x=function(a,b){google.y[a.id]=[a,b];return!1};google.load=function(a,b,d){google.x({id:a+k++},function(){google.load(a,b,d)})};var k=0;})();var _gjwl=location;function _gjuc(){var a=_gjwl.href.indexOf(\"#\");if(0<=a&&(a=_gjwl.href.substring(a),0<a.indexOf(\"&q=\")||0<=a.indexOf(\"#q=\"))&&(a=a.substring(1),-1==a.indexOf(\"#\"))){for(var d=0;d<a.length;){var b=d;\"&\"==a.charAt(b)&&++b;var c=a.indexOf(\"&\",b);-1==c&&(c=a.length);b=a.substring(b,c);if(0==b.indexOf(\"fp=\"))a=a.substring(0,d)+a.substring(c,a.length),c=d;else if(\"cad=h\"==b)return 0;d=c}_gjwl.href=\"/search?\"+a+\"&cad=h\";return 1}return 0}\nfunction _gjh(){!_gjuc()&&window.google&&google.x&&google.x({id:\"GJH\"},function(){google.nav&&google.nav.gjh&&google.nav.gjh()})};window._gjh&&_gjh();</script>\n  <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}\n</style>\n  <style>body,td,a,p,.h{font-family:arial,sans-serif}body{margin:0;overflow-y:scroll}#gog{padding:3px 8px 0}td{line-height:.8em}.gac_m td{line-height:17px}form{margin-bottom:20px}.h{color:#36c}.q{color:#00c}.ts td{padding:0}.ts{border-collapse:collapse}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:3px 0 4px;margin-left:4px}input{font-family:inherit}a.gb1,a.gb2,a.gb3,a.gb4{color:#11c !important}body{background:#fff;color:black}a{color:#11c;text-decoration:none}a:hover,a:active{text-decoration:underline}.fl a{color:#36c}a:visited{color:#551a8b}a.gb1,a.gb4{text-decoration:underline}a.gb3:hover{text-decoration:none}#ghead a.gb2:hover{color:#fff !important}.sblc{padding-top:5px}.sblc a{display:block;margin:2px 0;margin-left:13px;font-size:11px}.lsbb{background:#eee;border:solid 1px;border-color:#ccc #999 #999 #ccc;height:30px}.lsbb{display:block}.ftl,#fll a{display:inline-block;margin:0 12px}.lsb{background:url(/images/nav_logo229.png) 0 -261px repeat-x;border:none;color:#000;cursor:pointer;height:30px;margin:0;outline:0;font:15px arial,sans-serif;vertical-align:top}.lsb:active{background:#ccc}.lst:focus{outline:none}</style>\n  <script></script>\n  <link href=\"/images/branding/product/ico/googleg_lodp.ico\" rel=\"shortcut icon\" />\n </head>\n <body bgcolor=\"#fff\">\n  <script>(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;}\nif (!iesg){document.f&&document.f.q.focus();document.gbqf&&document.gbqf.q.focus();}\n}\n})();</script>\n  <div id=\"mngb\"> \n   <div id=\"gbar\">\n    <nobr>\n     <b class=\"gb1\">Search</b> \n     <a class=\"gb1\" href=\"http://www.google.com/imghp?hl=en&amp;tab=wi\">Images</a> \n     <a class=\"gb1\" href=\"http://maps.google.com/maps?hl=en&amp;tab=wl\">Maps</a> \n     <a class=\"gb1\" href=\"https://play.google.com/?hl=en&amp;tab=w8\">Play</a> \n     <a class=\"gb1\" href=\"http://www.youtube.com/?tab=w1\">YouTube</a> \n     <a class=\"gb1\" href=\"http://news.google.com/nwshp?hl=en&amp;tab=wn\">News</a> \n     <a class=\"gb1\" href=\"https://mail.google.com/mail/?tab=wm\">Gmail</a> \n     <a class=\"gb1\" href=\"https://drive.google.com/?tab=wo\">Drive</a> \n     <a class=\"gb1\" style=\"text-decoration:none\" href=\"https://www.google.com/intl/en/options/\"><u>More</u> &raquo;</a>\n    </nobr>\n   </div>\n   <div id=\"guser\" width=\"100%\">\n    <nobr>\n     <span id=\"gbn\" class=\"gbi\"></span>\n     <span id=\"gbf\" class=\"gbf\"></span>\n     <span id=\"gbe\"></span>\n     <a href=\"http://www.google.com/history/optout?hl=en\" class=\"gb4\">Web History</a> | \n     <a href=\"/preferences?hl=en\" class=\"gb4\">Settings</a> | \n     <a target=\"_top\" id=\"gb_70\" href=\"https://accounts.google.com/ServiceLogin?hl=en&amp;passive=true&amp;continue=http://www.google.com/\" class=\"gb4\">Sign in</a>\n    </nobr>\n   </div>\n   <div class=\"gbh\" style=\"left:0\"></div>\n   <div class=\"gbh\" style=\"right:0\"></div> \n  </div>\n  <center>\n   <span id=\"prt\" style=\"display:block\"> \n    <div>\n     <style>.pmoabs{background-color:#fff;border:1px solid #E5E5E5;color:#666;font-size:13px;padding-bottom:20px;position:absolute;right:2px;top:3px;z-index:986}#pmolnk{border-radius:2px;-moz-border-radius:2px;-webkit-border-radius:2px}.kd-button-submit{border:1px solid #3079ed;background-color:#4d90fe;background-image:-webkit-gradient(linear,left top,left bottom,from(#4d90fe),to(#4787ed));background-image:-webkit-linear-gradient(top,#4d90fe,#4787ed);background-image:-moz-linear-gradient(top,#4d90fe,#4787ed);background-image:-ms-linear-gradient(top,#4d90fe,#4787ed);background-image:-o-linear-gradient(top,#4d90fe,#4787ed);background-image:linear-gradient(top,#4d90fe,#4787ed);filter:progid:DXImageTransform.Microsoft.gradient(startColorStr='#4d90fe',EndColorStr='#4787ed')}.kd-button-submit:hover{border:1px solid #2f5bb7;background-color:#357ae8;background-image:-webkit-gradient(linear,left top,left bottom,from(#4d90fe),to(#357ae8));background-image:-webkit-linear-gradient(top,#4d90fe,#357ae8);background-image:-moz-linear-gradient(top,#4d90fe,#357ae8);background-image:-ms-linear-gradient(top,#4d90fe,#357ae8);background-image:-o-linear-gradient(top,#4d90fe,#357ae8);background-image:linear-gradient(top,#4d90fe,#357ae8);filter:progid:DXImageTransform.Microsoft.gradient(startColorStr='#4d90fe',EndColorStr='#357ae8')}.kd-button-submit:active{-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,0.3);-moz-box-shadow:inset 0 1px 2px rgba(0,0,0,0.3);box-shadow:inset 0 1px 2px rgba(0,0,0,0.3)}#pmolnk a{color:#fff;display:inline-block;font-weight:bold;padding:5px 20px;text-decoration:none;white-space:nowrap}.xbtn{color:#999;cursor:pointer;font-size:23px;line-height:5px;padding-top:5px}.padi{padding:0 8px 0 10px}.padt{padding:5px 20px 0 0;color:#444}.pads{text-align:left;max-width:200px}</style> \n     <div class=\"pmoabs\" id=\"pmocntr2\" style=\"behavior:url(#default#userdata);display:none\"> \n      <table border=\"0\"> \n       <tbody>\n        <tr> \n         <td colspan=\"2\"> \n          <div class=\"xbtn\" onclick=\"google.promos&amp;&amp;google.promos.toast&amp;&amp; google.promos.toast.cpc()\" style=\"float:right\">\n           &times;\n          </div> </td> \n        </tr> \n        <tr> \n         <td class=\"padi\" rowspan=\"2\"> <img src=\"/images/icons/product/chrome-48.png\" /> </td> \n         <td class=\"pads\">A better way to browse the web</td> \n        </tr> \n        <tr> \n         <td class=\"padt\"> \n          <div class=\"kd-button-submit\" id=\"pmolnk\"> \n           <a href=\"/chrome/browser/?hl=en&amp;brand=CHNG&amp;utm_source=en-hpp&amp;utm_medium=hpp&amp;utm_campaign=en\" onclick=\"google.promos&amp;&amp;google.promos.toast&amp;&amp; google.promos.toast.cl()\">Get Google Chrome</a> \n          </div> </td> \n        </tr> \n       </tbody>\n      </table> \n     </div> \n     <script type=\"text/javascript\">(function(){var a={v:{}};a.v.mb=50;a.v.kb=10;a.v.La=\"body\";a.v.Mb=!0;a.v.Pb=function(b,c){var d=a.v.Cb();a.v.Eb(d,b,c);a.v.Qb(d);a.v.Mb&&a.v.Nb(d)};a.v.Qb=function(b){(b=a.v.Na(b))&&0<b.forms.length&&b.forms[0].submit()};a.v.Cb=function(){var b=document.createElement(\"iframe\");b.height=0;b.width=0;b.style.overflow=\"hidden\";b.style.top=b.style.left=\"-100px\";b.style.position=\"absolute\";document.body.appendChild(b);return b};a.v.Na=function(b){return b.contentDocument||b.contentWindow.document};a.v.Eb=function(b,c,d){b=a.v.Na(b);b.open();d=[\"<\",a.v.La,'><form method=POST action=\"',d,'\">'];for(var e in c)c.hasOwnProperty(e)&&d.push('<textarea name=\"',e,'\">',c[e],\"</textarea>\");d.push(\"</form></\",a.v.La,\">\");b.write(d.join(\"\"));b.close()};a.v.Pa=function(b,c){c>a.v.kb?google&&google.ml&&google.ml(Error(\"ogcdr\"),!1,{cause:\"timeout\"}):b.contentWindow?a.v.Ob(b):window.setTimeout(function(){a.v.Pa(b,c+1)},a.v.mb)};a.v.Ob=function(b){document.body.removeChild(b)};a.v.Nb=function(b){a.v.Ab(b,\"load\",function(){a.v.Pa(b,0)})};a.v.Ab=function(b,c,d){b.addEventListener?b.addEventListener(c,d,!1):b.attachEvent&&b.attachEvent(\"on\"+c,d)};var m={Ub:0,$:1,ka:2,va:5,Tb:6};a.s={};a.s.ya={Ya:\"i\",ta:\"d\",$a:\"l\"};a.s.U={Aa:\"0\",ma:\"1\"};a.s.Ba={wa:1,ta:2,ra:3};a.s.S={Sa:\"a\",Wa:\"g\",W:\"c\",ub:\"u\",tb:\"t\",Aa:\"p\",lb:\"pid\",Ua:\"eid\",vb:\"at\"};a.s.Za=window.location.protocol+\"//www.google.com/_/og/promos/\";a.s.Va=\"g\";a.s.wb=\"z\";a.s.Fa=function(b,c,d,e){var f=null;switch(c){case m.$:f=window.gbar.up.gpd(b,d,!0);break;case m.va:f=window.gbar.up.gcc(e)}return null==f?0:parseInt(f,10)};a.s.Ib=function(b,c,d){return c==m.$?null!=window.gbar.up.gpd(b,d,!0):!1};a.s.Ca=function(b,c,d,e,f,h,k,l){var g={};g[a.s.S.Aa]=b;g[a.s.S.Wa]=c;g[a.s.S.Sa]=d;g[a.s.S.vb]=e;g[a.s.S.Ua]=f;g[a.s.S.lb]=1;k&&(g[a.s.S.W]=k);l&&(g[a.s.S.ub]=l);if(h)g[a.s.S.tb]=h;else return google.ml(Error(\"knu\"),!1,{cause:\"Token is not found\"}),null;return g};a.s.Ia=function(b,c,d){if(b){var e=c?a.s.Va:a.s.wb;c&&d&&(e+=\"?authuser=\"+d);a.v.Pb(b,a.s.Za+e)}};a.s.Db=function(b,c,d,e,f,h,k){b=a.s.Ca(c,b,a.s.ya.ta,a.s.Ba.ta,d,f,null,e);a.s.Ia(b,h,k)};a.s.Gb=function(b,c,d,e,f,h,k){b=a.s.Ca(c,b,a.s.ya.Ya,a.s.Ba.wa,d,f,e,null);a.s.Ia(b,h,k)};a.s.Lb=function(b,c,d,e,f,h,k,l,g,n){switch(c){case m.va:window.gbar.up.dpc(e,f);break;case m.$:window.gbar.up.spd(b,d,1,!0);break;case m.ka:g=g||!1,l=l||\"\",h=h||0,k=k||a.s.U.ma,n=n||0,a.s.Db(e,h,k,f,l,g,n)}};a.s.Jb=function(b,c,d,e,f){return c==m.$?0<d&&a.s.Fa(b,c,e,f)>=d:!1};a.s.Fb=function(b,c,d,e,f,h,k,l,g,n){switch(c){case m.va:window.gbar.up.iic(e,f);break;case m.$:c=a.s.Fa(b,c,d,e)+1;window.gbar.up.spd(b,d,c.toString(),!0);break;case m.ka:g=g||!1,l=l||\"\",h=h||0,k=k||a.s.U.Aa,n=n||0,a.s.Gb(e,h,k,1,l,g,n)}};a.s.Kb=function(b,c,d,e,f,h){b=a.s.Ca(c,b,a.s.ya.$a,a.s.Ba.ra,d,e,null,null);a.s.Ia(b,f,h)};var p={Rb:\"a\",Vb:\"l\",Sb:\"c\",Ta:\"d\",ra:\"h\",wa:\"i\",lc:\"n\",ma:\"x\",dc:\"ma\",jc:\"mc\",kc:\"mi\",Wb:\"pa\",Xb:\"pc\",Zb:\"pi\",ac:\"pn\",$b:\"px\",Yb:\"pd\",mc:\"gpa\",qc:\"gpi\",sc:\"gpn\",tc:\"gpx\",nc:\"gpd\"};a.o={};a.o.R={ab:\"hplogo\",rb:\"pmocntr2\"};a.o.U={qb:\"0\",ma:\"1\",Ra:\"2\"};a.o.w=document.getElementById(a.o.R.rb);a.o.Xa=16;a.o.nb=2;a.o.pb=20;google.promos=google.promos||{};google.promos.toast=google.promos.toast||{};a.o.qa=function(b){a.o.w&&(a.o.w.style.display=b?\"\":\"none\",a.o.w.parentNode&&(a.o.w.parentNode.style.position=b?\"relative\":\"\"))};a.o.Qa=function(b){try{if(a.o.w&&b&&b.es&&b.es.m){var c=window.gbar.rtl(document.body)?\"left\":\"right\";a.o.w.style[c]=b.es.m-a.o.Xa+a.o.nb+\"px\";a.o.w.style.top=a.o.pb+\"px\"}}catch(d){google.ml(d,!1,{cause:a.o.T+\"_PT\"})}};google.promos.toast.cl=function(){try{a.o.Da==m.ka&&a.s.Kb(a.o.Ga,a.o.V,a.o.U.Ra,a.o.Ka,a.o.Ha,a.o.Ja),window.gbar.up.sl(a.o.V,a.o.T,p.ra,a.o.Ea(),1)}catch(b){google.ml(b,!1,{cause:a.o.T+\"_CL\"})}};google.promos.toast.cpc=function(){try{a.o.w&&(a.o.qa(!1),a.s.Lb(a.o.w,a.o.Da,a.o.R.Ma,a.o.Ga,a.o.Bb,a.o.V,a.o.U.ma,a.o.Ka,a.o.Ha,a.o.Ja),window.gbar.up.sl(a.o.V,a.o.T,p.Ta,a.o.Ea(),1))}catch(b){google.ml(b,!1,{cause:a.o.T+\"_CPC\"})}};a.o.Oa=function(){try{if(a.o.w){var b=276,c=document.getElementById(a.o.R.ab);c&&(b=Math.max(b,c.offsetWidth));var d=parseInt(a.o.w.style.right,10)||0;a.o.w.style.visibility=2*(a.o.w.offsetWidth+d)+b>document.body.clientWidth?\"hidden\":\"\"}}catch(e){google.ml(e,!1,{cause:a.o.T+\"_HOSW\"})}};a.o.yb=function(){var b=[\"gpd\",\"spd\",\"aeh\",\"sl\"];if(!window.gbar||!window.gbar.up)return!1;for(var c=0,d;d=b[c];c++)if(!(d in window.gbar.up))return!1;return!0};a.o.Hb=function(){return a.o.w.currentStyle&&\"absolute\"!=a.o.w.currentStyle.position};google.promos.toast.init=function(b,c,d,e,f,h,k,l,g,n,q,r){try{if(!a.o.yb())google.ml(Error(\"apa\"),!1,{cause:a.o.T+\"_INIT\"});else if(a.o.w)if(e==m.ka&&!l==!g)google.ml(Error(\"tku\"),!1,{cause:\"zwieback: \"+g+\", gaia: \"+l}),a.o.qa(!1);else if(a.o.R.W=\"toast_count_\"+c+(q?\"_\"+q:\"\"),a.o.R.Ma=\"toast_dp_\"+c+(r?\"_\"+r:\"\"),a.o.T=d,a.o.V=b,a.o.Da=e,a.o.Ga=c,a.o.Bb=f,a.o.Ka=l?l:g,a.o.Ha=!!l,a.o.Ja=k,a.s.Ib(a.o.w,e,a.o.R.Ma,c)||a.s.Jb(a.o.w,e,h,a.o.R.W,c)||a.o.Hb())a.o.qa(!1);else{a.s.Fb(a.o.w,e,a.o.R.W,c,f,a.o.V,a.o.U.qb,a.o.Ka,a.o.Ha,a.o.Ja);if(!n){try{window.gbar.up.aeh(window,\"resize\",a.o.Oa)}catch(t){}window.lol=a.o.Oa;window.gbar.elr&&a.o.Qa(window.gbar.elr());window.gbar.elc&&window.gbar.elc(a.o.Qa);a.o.qa(!0)}window.gbar.up.sl(a.o.V,a.o.T,p.wa,a.o.Ea())}}catch(t){google.ml(t,!1,{cause:a.o.T+\"_INIT\"})}};a.o.Ea=function(){var b=a.s.Fa(a.o.w,a.o.Da,a.o.R.W,a.o.Ga);return\"ic=\"+b};})();</script> \n     <script type=\"text/javascript\">(function(){var sourceWebappPromoID=144002;var sourceWebappGroupID=5;var payloadType=5;var cookieMaxAgeSec=2592000;var dismissalType=5;var impressionCap=25;var gaiaXsrfToken='';var zwbkXsrfToken='';var kansasDismissalEnabled=false;var sessionIndex=0;var invisible=false;window.gbar&&gbar.up&&gbar.up.r&&gbar.up.r(payloadType,function(show){if (show){google.promos.toast.init(sourceWebappPromoID,sourceWebappGroupID,payloadType,dismissalType,cookieMaxAgeSec,impressionCap,sessionIndex,gaiaXsrfToken,zwbkXsrfToken,invisible,'0612');}\n});})();</script> \n    </div> </span>\n   <br clear=\"all\" id=\"lgpd\" />\n   <div id=\"lga\">\n    <img alt=\"Google\" height=\"92\" src=\"/images/branding/googlelogo/1x/googlelogo_white_background_color_272x92dp.png\" style=\"padding:28px 0 14px\" width=\"272\" id=\"hplogo\" onload=\"window.lol&amp;&amp;lol()\" />\n    <br />\n    <br />\n   </div>\n   <form action=\"/search\" name=\"f\">\n    <table cellpadding=\"0\" cellspacing=\"0\">\n     <tbody>\n      <tr valign=\"top\">\n       <td width=\"25%\">&nbsp;</td>\n       <td align=\"center\" nowrap=\"\"><input name=\"ie\" value=\"ISO-8859-1\" type=\"hidden\" /><input value=\"en\" name=\"hl\" type=\"hidden\" /><input name=\"source\" type=\"hidden\" value=\"hp\" /><input name=\"biw\" type=\"hidden\" /><input name=\"bih\" type=\"hidden\" />\n        <div class=\"ds\" style=\"height:32px;margin:4px 0\">\n         <input style=\"color:#000;margin:0;padding:5px 8px 0 6px;vertical-align:top\" autocomplete=\"off\" class=\"lst\" value=\"\" title=\"Google Search\" maxlength=\"2048\" name=\"q\" size=\"57\" />\n        </div><br style=\"line-height:0\" /><span class=\"ds\"><span class=\"lsbb\"><input class=\"lsb\" value=\"Google Search\" name=\"btnG\" type=\"submit\" /></span></span><span class=\"ds\"><span class=\"lsbb\"><input class=\"lsb\" value=\"I'm Feeling Lucky\" name=\"btnI\" onclick=\"if(this.form.q.value)this.checked=1; else top.location='/doodles/'\" type=\"submit\" /></span></span></td>\n       <td class=\"fl sblc\" align=\"left\" nowrap=\"\" width=\"25%\"><a href=\"/advanced_search?hl=en&amp;authuser=0\">Advanced search</a><a href=\"/language_tools?hl=en&amp;authuser=0\">Language tools</a></td>\n      </tr>\n     </tbody>\n    </table>\n    <input id=\"gbv\" name=\"gbv\" type=\"hidden\" value=\"1\" />\n   </form>\n   <div id=\"gac_scont\"></div>\n   <div style=\"font-size:83%;min-height:3.5em\">\n    <br />\n   </div>\n   <span id=\"footer\">\n    <div style=\"font-size:10pt\">\n     <div style=\"margin:19px auto;text-align:center\" id=\"fll\">\n      <a href=\"/intl/en/ads/\">Advertising&nbsp;Programs</a>\n      <a href=\"/services/\">Business Solutions</a>\n      <a href=\"https://plus.google.com/116899029375914044550\" rel=\"publisher\">+Google</a>\n      <a href=\"/intl/en/about.html\">About Google</a>\n     </div>\n    </div><p style=\"color:#767676;font-size:8pt\">&copy; 2016 - <a href=\"/intl/en/policies/privacy/\">Privacy</a> - <a href=\"/intl/en/policies/terms/\">Terms</a></p></span>\n  </center>\n  <script>(function(){window.google.cdo={height:0,width:0};(function(){var a=window.innerWidth,b=window.innerHeight;if(!a||!b)var c=window.document,d=\"CSS1Compat\"==c.compatMode?c.documentElement:c.body,a=d.clientWidth,b=d.clientHeight;a&&b&&(a!=google.cdo.width||b!=google.cdo.height)&&google.log(\"\",\"\",\"/client_204?&atyp=i&biw=\"+a+\"&bih=\"+b+\"&ei=\"+google.kEI);})();})();</script>\n  <div id=\"xjsd\"></div>\n  <div id=\"xjsi\">\n   <script>(function(){function c(b){window.setTimeout(function(){var a=document.createElement(\"script\");a.src=b;document.getElementById(\"xjsd\").appendChild(a)},0)}google.dljp=function(b,a){google.xjsu=b;c(a)};google.dlj=c;})();(function(){window.google.xjsrm=[];})();if(google.y)google.y.first=[];if(!google.xjs){window._=window._||{};window._._DumpException=function(e){throw e};if(google.timers&&google.timers.load.t){google.timers.load.t.xjsls=new Date().getTime();}google.dljp('/xjs/_/js/k\\x3dxjs.hp.en_US.5C2vd3rOp1M.O/m\\x3dsb_he,d/rt\\x3dj/d\\x3d1/t\\x3dzcms/rs\\x3dACT90oEFfMgZgKGYaOOyBVByhd9Bn7FE3Q','/xjs/_/js/k\\x3dxjs.hp.en_US.5C2vd3rOp1M.O/m\\x3dsb_he,d/rt\\x3dj/d\\x3d1/t\\x3dzcms/rs\\x3dACT90oEFfMgZgKGYaOOyBVByhd9Bn7FE3Q');google.xjs=1;}google.pmc={\"sb_he\":{\"agen\":true,\"cgen\":true,\"client\":\"heirloom-hp\",\"dh\":true,\"dhqt\":true,\"ds\":\"\",\"fl\":true,\"host\":\"google.com\",\"isbh\":28,\"jam\":0,\"jsonp\":true,\"msgs\":{\"cibl\":\"Clear Search\",\"dym\":\"Did you mean:\",\"lcky\":\"I\\u0026#39;m Feeling Lucky\",\"lml\":\"Learn more\",\"oskt\":\"Input tools\",\"psrc\":\"This search was removed from your \\u003Ca href=\\\"/history\\\"\\u003EWeb History\\u003C/a\\u003E\",\"psrl\":\"Remove\",\"sbit\":\"Search by image\",\"srch\":\"Google Search\"},\"ovr\":{},\"pq\":\"\",\"refpd\":true,\"rfs\":[],\"scd\":10,\"sce\":5,\"stok\":\"qDuEc7MnCTzUyNT5fMxxrf7GYqM\"},\"d\":{}};google.y.first.push(function(){if(google.med){google.med('init');google.initHistory();google.med('history');}});if(google.j&&google.j.en&&google.j.xi){window.setTimeout(google.j.xi,0);}\n</script>\n  </div>\n </body>\n</html>"

Install and Use

Install

Install the Algorithmia CLI client by running:

curl -sSLf https://algorithmia.com/install.sh | sh

Then authenticate by running:

algo auth
# Enter API Key: YOUR_API_KEY
CLI Install Docs

Use



algo run JackCollins/getSourceCode/0.2.0 -d '"http://google.com"' –-timeout 300
  
CLI Docs