scrap
Version:
A simple screen scraper module that uses jQuery style semantics.
4 lines • 7.29 kB
HTML
<html>
<head><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"><meta content="noodp" name="robots"><meta itemprop="image" content="/images/google_favicon_128.png"><title>Google</title></head><body><textarea id="csi" style="display:none"></textarea><div id="mngb"><div id="gb"><script>window.gbar&&gbar.eli&&gbar.eli()</script><div id="gbw"><div id="gbz"><span class="gbtcb"></span><ol id="gbzc" class="gbtc"><li class="gbt"><a onclick="gbar.logger.il(1,{t:1});" class="gbzt gbz0l gbp1" id="gb_1" href="http://www.google.com/webhp?hl=en&tab=ww"><span class="gbtb2"></span><span class="gbts">Search</span></a></li><li class="gbt"><a onclick="gbar.qs(this);gbar.logger.il(1,{t:2});" class="gbzt" id="gb_2" href="http://www.google.com/imghp?hl=en&tab=wi"><span class="gbtb2"></span><span class="gbts">Images</span></a></li><li class="gbt"><a onclick="gbar.qs(this);gbar.logger.il(1,{t:8});" class="gbzt" id="gb_8" href="http://maps.google.com/maps?hl=en&tab=wl"><span class="gbtb2"></span><span class="gbts">Maps</span></a></li><li class="gbt"><a onclick="gbar.logger.il(1,{t:78});" class="gbzt" id="gb_78" href="https://play.google.com/?hl=en&tab=w8"><span class="gbtb2"></span><span class="gbts">Play</span></a></li><li class="gbt"><a onclick="gbar.qs(this);gbar.logger.il(1,{t:36});" class="gbzt" id="gb_36" href="http://www.youtube.com/?tab=w1"><span class="gbtb2"></span><span class="gbts">YouTube</span></a></li><li class="gbt"><a onclick="gbar.logger.il(1,{t:5});" class="gbzt" id="gb_5" href="http://news.google.com/nwshp?hl=en&tab=wn"><span class="gbtb2"></span><span class="gbts">News</span></a></li><li class="gbt"><a onclick="gbar.logger.il(1,{t:23});" class="gbzt" id="gb_23" href="https://mail.google.com/mail/?tab=wm"><span class="gbtb2"></span><span class="gbts">Gmail</span></a></li><li class="gbt"><a onclick="gbar.logger.il(1,{t:25});" class="gbzt" id="gb_25" href="https://docs.google.com/?tab=wo"><span class="gbtb2"></span><span class="gbts">Documents</span></a></li><li class="gbt"><a class="gbgt" id="gbztm" href="http://www.google.com/intl/en/options/" onclick="gbar.tg(event,this)" aria-haspopup="true" aria-owns="gbd"><span class="gbtb2"></span><span id="gbztms" class="gbts gbtsa"><span id="gbztms1">More</span><span class="gbma"></span></span></a><div class="gbm" id="gbd" aria-owner="gbztm"><div id="gbmmb" class="gbmc gbsb gbsbis"><ol id="gbmm" class="gbmcc gbsbic"><li class="gbmtc"><a onclick="gbar.logger.il(1,{t:24});" class="gbmt" id="gb_24" href="https://www.google.com/calendar?tab=wc">Calendar</a></li><li class="gbmtc"><a onclick="gbar.qs(this);gbar.logger.il(1,{t:51});" class="gbmt" id="gb_51" href="http://translate.google.com/?hl=en&tab=wT">Translate</a></li><li class="gbmtc"><a onclick="gbar.logger.il(1,{t:17});" class="gbmt" id="gb_17" href="http://www.google.com/mobile/?tab=wD">Mobile</a></li><li class="gbmtc"><a onclick="gbar.qs(this);gbar.logger.il(1,{t:10});" class="gbmt" id="gb_10" href="http://books.google.com/bkshp?hl=en&tab=wp">Books</a></li><li class="gbmtc"><a onclick="gbar.logger.il(1,{t:172});" class="gbmt" id="gb_172" href="https://www.google.com/offers/home?utm_source=xsell&utm_medium=products&utm_campaign=sandbar&tab=wG#!details">Offers</a></li><li class="gbmtc"><a onclick="gbar.logger.il(1,{t:212});" class="gbmt" id="gb_212" href="https://wallet.google.com/manage/?tab=wa">Wallet</a></li><li class="gbmtc"><a onclick="gbar.qs(this);gbar.logger.il(1,{t:6});" class="gbmt" id="gb_6" href="http://www.google.com/shopping?hl=en&tab=wf">Shopping</a></li><li class="gbmtc"><a onclick="gbar.logger.il(1,{t:30});" class="gbmt" id="gb_30" href="http://www.blogger.com/?tab=wj">Blogger</a></li><li class="gbmtc"><a onclick="gbar.logger.il(1,{t:32});" class="gbmt" id="gb_32" href="http://www.google.com/reader/?hl=en&tab=wy">Reader</a></li><li class="gbmtc"><a onclick="gbar.qs(this);gbar.logger.il(1,{t:27});" class="gbmt" id="gb_27" href="http://www.google.com/finance?tab=we">Finance</a></li><li class="gbmtc"><a onclick="gbar.qs(this);gbar.logger.il(1,{t:31});" class="gbmt" id="gb_31" href="http://picasaweb.google.com/home?hl=en&tab=wq">Photos</a></li><li class="gbmtc"><a onclick="gbar.qs(this);gbar.logger.il(1,{t:12});" class="gbmt" id="gb_12" href="http://video.google.com/?hl=en&tab=wv">Videos</a></li><li class="gbmtc"><div class="gbmt gbmh"></div></li><li class="gbmtc"><a onclick="gbar.logger.il(1,{t:66});" href="http://www.google.com/intl/en/options/" class="gbmt">Even more »</a></li></ol><div class="gbsbt"></div><div class="gbsbb"></div></div></div></li></ol></div><div id="gbg"><h2 class="gbxx">Account Options</h2><span class="gbtcb"></span><ol class="gbtc"><li class="gbt"><a target="_top" href="https://accounts.google.com/ServiceLogin?hl=en&continue=http://www.google.com/" onclick="gbar.logger.il(9,{l:'i'})" id="gb_70" class="gbgt"><span class="gbtb2"></span><span id="gbgs4" class="gbts"><span id="gbi4s1">Sign in</span></span></a></li><li class="gbt gbtb"><span class="gbts"></span></li><li class="gbt"><a class="gbgt" id="gbg5" href="http://www.google.com/preferences?hl=en" title="Options" onclick="gbar.tg(event,this)" aria-haspopup="true" aria-owns="gbd5"><span class="gbtb2"></span><span id="gbgs5" class="gbts"><span id="gbi5"></span></span></a><div class="gbm" id="gbd5" aria-owner="gbg5"><div class="gbmc"><ol id="gbom" class="gbmcc"><li class="gbkc gbmtc"><a class="gbmt" href="/preferences?hl=en">Search settings</a></li><li class="gbmtc"><div class="gbmt gbmh"></div></li><li class="gbkp gbmtc"><a class="gbmt" href="http://www.google.com/history/optout?hl=en">Web History</a></li></ol></div></div></li></ol></div></div><div id="gbx3"></div><div id="gbx4"></div><script>window.gbar&&gbar.elp&&gbar.elp()</script></div></div><iframe name="wgjf" style="display:none"></iframe><center><br clear="all" id="lgpd"><div id="lga"><img alt="Google" height="95" src="/intl/en_ALL/images/srpr/logo1w.png" width="275" id="hplogo" onload="window.lol&&lol()" style="padding:28px 0 14px"><br><br></div><form action="/search" name="f"><table cellpadding="0" cellspacing="0"><tr valign="top"><td width="25%"> </td><td align="center" nowrap="nowrap"><input name="ie" value="ISO-8859-1" type="hidden"><input value="en" name="hl" type="hidden"><input name="source" type="hidden" value="hp"><div class="ds" style="height:32px;margin:4px 0"><input autocomplete="off" class="lst" value="" title="Google Search" maxlength="2048" name="q" size="57" style="color:#000;margin:0;padding:5px 8px 0 6px;vertical-align:top"></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" type="submit" onclick="if(this.form.q.value)this.checked=1; else top.location='/doodles/'"></span></span></td><td class="fl sblc" align="left" nowrap="nowrap" width="25%"><a href="/advanced_search?hl=en&authuser=0">Advanced search</a><a href="/language_tools?hl=en&authuser=0">Language tools</a></td></tr></table><input type="hidden" id="gbv" name="gbv" value="1"></body>
</html>