Skip to content

Instantly share code, notes, and snippets.

@scottkf
Created June 23, 2011 16:42
Show Gist options
  • Save scottkf/1042949 to your computer and use it in GitHub Desktop.
Save scottkf/1042949 to your computer and use it in GitHub Desktop.
testing nokogiri
require 'rspec'
require 'nokogiri'
require 'open-uri'
describe "nokogiri steam failure" do
it "should only see a url once since they don't repeat" do
doc = Nokogiri::HTML(open(URI.encode("http://store.steampowered.com/search/results?sort_by=Name&sort_order=ASC&category1=998&cc=us&v6=1&page=1")))
@kickthebaby = doc.search('//a[@href="http://store.steampowered.com/app/15540/?snr=1_7_7_230_150_1"]').size
@shadowmagic = doc.search('//a[@href="http://store.steampowered.com/app/61520/?snr=1_7_7_230_150_1"]').size
@shadowmagic.should == @src.scan(/http:\/\/(.*app\/61520)/).size
@kickthebaby.should == @src.scan(/http:\/\/(.*app\/15540)/).size
end
before(:each) do
@src = <<DOC
<script type = "text/javascript">
function shareLinkClick(link){
$('url_box').show();
$('sharearrow').show();
$('url_textarea').select();
link.style.color = "#7da6c8";
}
</script>
<div id = "search_result_container">
<div id = "url_box" style = "display:none">
<input type = "text" id = "url_textarea" value = "http://store.steampowered.com/search/?category1=998&amp;snr=1_7_7_230_152" />
</div>
<img src = "http://cdn.store.steampowered.com/public/images/down_border_arrow.png" id = "sharearrow" style = "display:none" >
<div style = "clear:right"></div>
<SPAN id = "share" onClick = "shareLinkClick(this);">
Share</SPAN>
<h2 class="results_description">
Games</h2>
<div class="search_rule"></div>
<div class="search_pagination">
<div class="search_pagination_left">
showing 1 - 25 of 1346 </div>
<div class="search_pagination_right">
Page:
1&nbsp;|&nbsp; <a href="http://store.steampowered.com/search/?sort_by=Name&sort_order=ASC&category1=998&page=2" onclick="SearchLinkClick( this ); return false;">2</a>
&nbsp;|&nbsp; <a href="http://store.steampowered.com/search/?sort_by=Name&sort_order=ASC&category1=998&page=3" onclick="SearchLinkClick( this ); return false;">3</a>
&nbsp;...&nbsp;<a href="http://store.steampowered.com/search/?sort_by=Name&sort_order=ASC&category1=998&page=54" onclick="SearchLinkClick( this ); return false;">54</a>
&nbsp;<a href="http://store.steampowered.com/search/?sort_by=Name&sort_order=ASC&category1=998&page=2" onclick="SearchLinkClick( this ); return false;">&gt;&gt;</a>
</div>
<div style="clear: both;"></div>
</div>
<div id="search_header">
<div class="col search_price" onClick="location.href='http://store.steampowered.com/search/?sort_by=Price&sort_order=ASC&category1=998';">Price</div>
<div class="col search_type" onClick="location.href='http://store.steampowered.com/search/?sort_by=Type&sort_order=ASC&category1=998';">Type</div>
<div class="col search_metascore" onClick="location.href='http://store.steampowered.com/search/?sort_by=Metascore&sort_order=DESC&category1=998';">Metascore&reg;</div>
<div class="col search_released" onClick="location.href='http://store.steampowered.com/search/?sort_by=Released&sort_order=DESC&category1=998';">Released</div>
<div class="search_name" onClick="location.href='http://store.steampowered.com/search/?sort_by=Name&sort_order=DESC&category1=998';">Title <img src="http://cdn.store.steampowered.com/public/images/up.gif" width="10" height="10" border="0" /></div>
<div style="clear: both;"></div>
</div>
<!-- List Items -->
<div>
<!-- Extra empty div to hack around lame IE7 layout bug -->
<div></div>
<!-- End Extra empty div -->
<a href="http://store.steampowered.com/app/15540/?snr=1_7_7_230_150_1" class="search_result_row even" >
<div class="col search_price">&#36;9.99</div>
<div class="col search_type">
<img src="http://cdn.store.steampowered.com/public/images/ico/ico_type_app.gif">
</div>
<div class="col search_metascore"></div>
<div class="col search_released">Apr 1, 2011</div>
<div class="col search_capsule"><img src="http://cdn.steampowered.com/v/gfx/apps/15540/capsule_sm_120.jpg?t=1303162966" alt="Buy 1... 2... 3... KICK IT! (Drop That Beat Like an Ugly Baby)" width="120" height="45"></div>
<div class="col search_name ellipsis">
<h4>1... 2... 3... KICK IT! (Drop That Beat Like an Ugly Baby)</h4>
<p>
<img class="platform_img" src="http://cdn.store.steampowered.com/public/images/v5/platforms/platform_win.png" width="22" height="22">Action, Indie - Released: Apr 1, 2011 </p>
</div>
<div style="clear: both;"></div>
</a>
<a href="http://store.steampowered.com/app/7870/?snr=1_7_7_230_150_1" class="search_result_row odd" >
<div class="col search_price">&#36;29.99</div>
<div class="col search_type">
<img src="http://cdn.store.steampowered.com/public/images/ico/ico_type_app.gif">
</div>
<div class="col search_metascore">79</div>
<div class="col search_released">May 6, 2009</div>
<div class="col search_capsule"><img src="http://cdn.steampowered.com/v/gfx/apps/7870/capsule_sm_120.jpg?t=1270602378" alt="Buy 1701 A.D.: Gold Edition" width="120" height="45"></div>
<div class="col search_name ellipsis">
<h4>1701 A.D.: Gold Edition</h4>
<p>
<img class="platform_img" src="http://cdn.store.steampowered.com/public/images/v5/platforms/platform_win.png" width="22" height="22">Strategy, Simulation - Released: May 6, 2009 </p>
</div>
<div style="clear: both;"></div>
</a>
<a href="http://store.steampowered.com/app/12520/?snr=1_7_7_230_150_1" class="search_result_row even" >
<div class="col search_price">&#36;9.99</div>
<div class="col search_type">
<img src="http://cdn.store.steampowered.com/public/images/ico/ico_type_app.gif">
</div>
<div class="col search_metascore"></div>
<div class="col search_released">Jan 29, 2008</div>
<div class="col search_capsule"><img src="http://cdn.steampowered.com/v/gfx/apps/12520/capsule_sm_120.jpg?t=1268086533" alt="Buy 18 Wheels of Steel: American Long Haul" width="120" height="45"></div>
<div class="col search_name ellipsis">
<h4>18 Wheels of Steel: American Long Haul</h4>
<p>
<img class="platform_img" src="http://cdn.store.steampowered.com/public/images/v5/platforms/platform_win.png" width="22" height="22">Racing - Released: Jan 29, 2008 </p>
</div>
<div style="clear: both;"></div>
</a>
<a href="http://store.steampowered.com/app/33730/?snr=1_7_7_230_150_1" class="search_result_row odd" >
<div class="col search_price">&#36;19.99</div>
<div class="col search_type">
<img src="http://cdn.store.steampowered.com/public/images/ico/ico_type_app.gif">
</div>
<div class="col search_metascore"></div>
<div class="col search_released"></div>
<div class="col search_capsule"><img src="http://cdn.steampowered.com/v/gfx/apps/33730/capsule_sm_120.jpg?t=1294358071" alt="Buy 18 Wheels of Steel: Extreme Trucker" width="120" height="45"></div>
<div class="col search_name ellipsis">
<h4>18 Wheels of Steel: Extreme Trucker</h4>
<p>
<img class="platform_img" src="http://cdn.store.steampowered.com/public/images/v5/platforms/platform_win.png" width="22" height="22">Simulation </p>
</div>
<div style="clear: both;"></div>
</a>
<a href="http://store.steampowered.com/app/10140/?snr=1_7_7_230_150_1" class="search_result_row even" >
<div class="col search_price">&#36;9.99</div>
<div class="col search_type">
<img src="http://cdn.store.steampowered.com/public/images/ico/ico_type_app.gif">
</div>
<div class="col search_metascore"></div>
<div class="col search_released">Jul 23, 2009</div>
<div class="col search_capsule"><img src="http://cdn.steampowered.com/v/gfx/apps/10140/capsule_sm_120.jpg?t=1256834610" alt="Buy 3D Ultra&trade; Minigolf Adventures" width="120" height="45"></div>
<div class="col search_name ellipsis">
<h4>3D Ultra&trade; Minigolf Adventures</h4>
<p>
<img class="platform_img" src="http://cdn.store.steampowered.com/public/images/v5/platforms/platform_win.png" width="22" height="22">Sports, Family - Released: Jul 23, 2009 </p>
</div>
<div style="clear: both;"></div>
</a>
<a href="http://store.steampowered.com/app/47000/?snr=1_7_7_230_150_1" class="search_result_row odd" >
<div class="col search_price">&#36;9.99</div>
<div class="col search_type">
<img src="http://cdn.store.steampowered.com/public/images/ico/ico_type_app.gif">
</div>
<div class="col search_metascore"></div>
<div class="col search_released">Jul 12, 2010</div>
<div class="col search_capsule"><img src="http://cdn.steampowered.com/v/gfx/apps/47000/capsule_sm_120.jpg?t=1279047104" alt="Buy 4 Elements" width="120" height="45"></div>
<div class="col search_name ellipsis">
<h4>4 Elements</h4>
<p>
<img class="platform_img" src="http://cdn.store.steampowered.com/public/images/v5/platforms/platform_win.png" width="22" height="22">Family, Casual, Adventure - Released: Jul 12, 2010 </p>
</div>
<div style="clear: both;"></div>
</a>
<a href="http://store.steampowered.com/app/2900/?snr=1_7_7_230_150_1" class="search_result_row even" >
<div class="col search_price">&#36;19.99</div>
<div class="col search_type">
<img src="http://cdn.store.steampowered.com/public/images/ico/ico_type_app.gif">
</div>
<div class="col search_metascore"></div>
<div class="col search_released">Oct 26, 2006</div>
<div class="col search_capsule"><img src="http://cdn.steampowered.com/v/gfx/apps/2900/capsule_sm_120.jpg?t=1262213327" alt="Buy 688(I) Hunter/Killer" width="120" height="45"></div>
<div class="col search_name ellipsis">
<h4>688(I) Hunter/Killer</h4>
<p>
<img class="platform_img" src="http://cdn.store.steampowered.com/public/images/v5/platforms/platform_win.png" width="22" height="22">Strategy - Released: Oct 26, 2006 </p>
</div>
<div style="clear: both;"></div>
</a>
<a href="http://store.steampowered.com/app/15900/?snr=1_7_7_230_150_1" class="search_result_row odd" >
<div class="col search_price">&#36;9.99</div>
<div class="col search_type">
<img src="http://cdn.store.steampowered.com/public/images/ico/ico_type_app.gif">
</div>
<div class="col search_metascore"></div>
<div class="col search_released">Jun 10, 2008</div>
<div class="col search_capsule"><img src="http://cdn.steampowered.com/v/gfx/apps/15900/capsule_sm_120.jpg?t=1262216366" alt="Buy 7 Wonders II" width="120" height="45"></div>
<div class="col search_name ellipsis">
<h4>7 Wonders II</h4>
<p>
<img class="platform_img" src="http://cdn.store.steampowered.com/public/images/v5/platforms/platform_win.png" width="22" height="22">Casual, Family - Released: Jun 10, 2008 </p>
</div>
<div style="clear: both;"></div>
</a>
<a href="http://store.steampowered.com/app/16030/?snr=1_7_7_230_150_1" class="search_result_row even" >
<div class="col search_price">&#36;9.99</div>
<div class="col search_type">
<img src="http://cdn.store.steampowered.com/public/images/ico/ico_type_app.gif">
</div>
<div class="col search_metascore"></div>
<div class="col search_released">Nov 14, 2008</div>
<div class="col search_capsule"><img src="http://cdn.steampowered.com/v/gfx/apps/16030/capsule_sm_120.jpg?t=1260317611" alt="Buy 7 Wonders: Treasures of Seven" width="120" height="45"></div>
<div class="col search_name ellipsis">
<h4>7 Wonders: Treasures of Seven</h4>
<p>
<img class="platform_img" src="http://cdn.store.steampowered.com/public/images/v5/platforms/platform_win.png" width="22" height="22">Casual, Family - Released: Nov 14, 2008 </p>
</div>
<div style="clear: both;"></div>
</a>
<a href="http://store.steampowered.com/app/12480/?snr=1_7_7_230_150_1" class="search_result_row odd" >
<div class="col search_price">&#36;9.99</div>
<div class="col search_type">
<img src="http://cdn.store.steampowered.com/public/images/ico/ico_type_app.gif">
</div>
<div class="col search_metascore"></div>
<div class="col search_released">Dec 3, 2009</div>
<div class="col search_capsule"><img src="http://cdn.steampowered.com/v/gfx/apps/12480/capsule_sm_120.jpg?t=1270243112" alt="Buy 9th Company: Roots Of Terror " width="120" height="45"></div>
<div class="col search_name ellipsis">
<h4>9th Company: Roots Of Terror </h4>
<p>
<img class="platform_img" src="http://cdn.store.steampowered.com/public/images/v5/platforms/platform_win.png" width="22" height="22">Strategy - Released: Dec 3, 2009 </p>
</div>
<div style="clear: both;"></div>
</a>
<a href="http://store.steampowered.com/app/32460/?snr=1_7_7_230_150_1" class="search_result_row even" >
<div class="col search_price">&#36;9.99</div>
<div class="col search_type">
<img src="http://cdn.store.steampowered.com/public/images/ico/ico_type_app.gif">
</div>
<div class="col search_metascore">87</div>
<div class="col search_released">Jul 7, 2010</div>
<div class="col search_capsule"><img src="http://cdn.steampowered.com/v/gfx/apps/32460/capsule_sm_120.jpg?t=1296854932" alt="Buy <i>Monkey Island&trade;</i> 2 Special Edition: LeChuck’s Revenge&trade;" width="120" height="45"></div>
<div class="col search_name ellipsis">
<h4><i>Monkey Island&trade;</i> 2 Special Edition: LeChuck’s Revenge&trade;</h4>
<p>
<img class="platform_img" src="http://cdn.store.steampowered.com/public/images/v5/platforms/platform_win.png" width="22" height="22">Adventure - Released: Jul 7, 2010 </p>
</div>
<div style="clear: both;"></div>
</a>
<a href="http://store.steampowered.com/app/3160/?snr=1_7_7_230_150_1" class="search_result_row odd" >
<div class="col search_price">&#36;19.99</div>
<div class="col search_type">
<img src="http://cdn.store.steampowered.com/public/images/ico/ico_type_app.gif">
</div>
<div class="col search_metascore"></div>
<div class="col search_released">Nov 11, 2009</div>
<div class="col search_capsule"><img src="http://cdn.steampowered.com/v/gfx/apps/3160/capsule_sm_120.jpg?t=1270243112" alt="Buy A Farewell to Dragons" width="120" height="45"></div>
<div class="col search_name ellipsis">
<h4>A Farewell to Dragons</h4>
<p>
<img class="platform_img" src="http://cdn.store.steampowered.com/public/images/v5/platforms/platform_win.png" width="22" height="22">Action, RPG - Released: Nov 11, 2009 </p>
</div>
<div style="clear: both;"></div>
</a>
<a href="http://store.steampowered.com/app/46200/?snr=1_7_7_230_150_1" class="search_result_row even" >
<div class="col search_price">&#36;19.99</div>
<div class="col search_type">
<img src="http://cdn.store.steampowered.com/public/images/ico/ico_type_app.gif">
</div>
<div class="col search_metascore"></div>
<div class="col search_released">Jan 22, 2010</div>
<div class="col search_capsule"><img src="http://cdn.steampowered.com/v/gfx/apps/46200/capsule_sm_120.jpg?t=1291659094" alt="Buy A.I.M. Racing" width="120" height="45"></div>
<div class="col search_name ellipsis">
<h4>A.I.M. Racing</h4>
<p>
<img class="platform_img" src="http://cdn.store.steampowered.com/public/images/v5/platforms/platform_win.png" width="22" height="22">Racing, Action - Released: Jan 22, 2010 </p>
</div>
<div style="clear: both;"></div>
</a>
<a href="http://store.steampowered.com/app/92300/?snr=1_7_7_230_150_1" class="search_result_row odd" >
<div class="col search_price">&#36;9.99</div>
<div class="col search_type">
<img src="http://cdn.store.steampowered.com/public/images/ico/ico_type_app.gif">
</div>
<div class="col search_metascore">68</div>
<div class="col search_released">Jan 19, 2011</div>
<div class="col search_capsule"><img src="http://cdn.steampowered.com/v/gfx/apps/92300/capsule_sm_120.jpg?t=1308636402" alt="Buy A.R.E.S.: Extinction Agenda" width="120" height="45"></div>
<div class="col search_name ellipsis">
<h4>A.R.E.S.: Extinction Agenda</h4>
<p>
<img class="platform_img" src="http://cdn.store.steampowered.com/public/images/v5/platforms/platform_win.png" width="22" height="22">Action, Indie - Released: Jan 19, 2011 </p>
</div>
<div style="clear: both;"></div>
</a>
<a href="http://store.steampowered.com/app/15520/?snr=1_7_7_230_150_1" class="search_result_row even" >
<div class="col search_price">&#36;9.99</div>
<div class="col search_type">
<img src="http://cdn.store.steampowered.com/public/images/ico/ico_type_app.gif">
</div>
<div class="col search_metascore">81</div>
<div class="col search_released">Sep 3, 2009</div>
<div class="col search_capsule"><img src="http://cdn.steampowered.com/v/gfx/apps/15520/capsule_sm_120.jpg?t=1307723557" alt="Buy AaAaAA!!! - A Reckless Disregard for Gravity " width="120" height="45"></div>
<div class="col search_name ellipsis">
<h4>AaAaAA!!! - A Reckless Disregard for Gravity </h4>
<p>
<img class="platform_img" src="http://cdn.store.steampowered.com/public/images/v5/platforms/platform_win.png" width="22" height="22">Action, Sports, Indie - Released: Sep 3, 2009 </p>
</div>
<div style="clear: both;"></div>
</a>
<a href="http://store.steampowered.com/app/10120/?snr=1_7_7_230_150_1" class="search_result_row odd" >
<div class="col search_price">&#36;9.99</div>
<div class="col search_type">
<img src="http://cdn.store.steampowered.com/public/images/ico/ico_type_app.gif">
</div>
<div class="col search_metascore"></div>
<div class="col search_released">Jul 23, 2009</div>
<div class="col search_capsule"><img src="http://cdn.steampowered.com/v/gfx/apps/10120/capsule_sm_120.jpg?t=1256834508" alt="Buy Aces of the Galaxy&trade;" width="120" height="45"></div>
<div class="col search_name ellipsis">
<h4>Aces of the Galaxy&trade;</h4>
<p>
<img class="platform_img" src="http://cdn.store.steampowered.com/public/images/v5/platforms/platform_win.png" width="22" height="22">Casual, Action, Family - Released: Jul 23, 2009 </p>
</div>
<div style="clear: both;"></div>
</a>
<a href="http://store.steampowered.com/app/2710/?snr=1_7_7_230_150_1" class="search_result_row even" >
<div class="col search_price">&#36;9.99</div>
<div class="col search_type">
<img src="http://cdn.store.steampowered.com/public/images/ico/ico_type_app.gif">
</div>
<div class="col search_metascore">82</div>
<div class="col search_released">Mar 12, 2008</div>
<div class="col search_capsule"><img src="http://cdn.steampowered.com/v/gfx/apps/2710/capsule_sm_120.jpg?t=1270602379" alt="Buy Act of War: Direct Action" width="120" height="45"></div>
<div class="col search_name ellipsis">
<h4>Act of War: Direct Action</h4>
<p>
<img class="platform_img" src="http://cdn.store.steampowered.com/public/images/v5/platforms/platform_win.png" width="22" height="22">Action - Released: Mar 12, 2008 </p>
</div>
<div style="clear: both;"></div>
</a>
<a href="http://store.steampowered.com/app/9760/?snr=1_7_7_230_150_1" class="search_result_row odd" >
<div class="col search_price">&#36;9.99</div>
<div class="col search_type">
<img src="http://cdn.store.steampowered.com/public/images/ico/ico_type_app.gif">
</div>
<div class="col search_metascore">74</div>
<div class="col search_released">Mar 12, 2008</div>
<div class="col search_capsule"><img src="http://cdn.steampowered.com/v/gfx/apps/9760/capsule_sm_120.jpg?t=1270602379" alt="Buy Act of War: High Treason" width="120" height="45"></div>
<div class="col search_name ellipsis">
<h4>Act of War: High Treason</h4>
<p>
<img class="platform_img" src="http://cdn.store.steampowered.com/public/images/v5/platforms/platform_win.png" width="22" height="22">Action - Released: Mar 12, 2008 </p>
</div>
<div style="clear: both;"></div>
</a>
<a href="http://store.steampowered.com/app/3800/?snr=1_7_7_230_150_1" class="search_result_row even" >
<div class="col search_price">&#36;9.99</div>
<div class="col search_type">
<img src="http://cdn.store.steampowered.com/public/images/ico/ico_type_app.gif">
</div>
<div class="col search_metascore">70</div>
<div class="col search_released">Sep 14, 2006</div>
<div class="col search_capsule"><img src="http://cdn.steampowered.com/v/gfx/apps/3800/capsule_sm_120.jpg?t=1270602379" alt="Buy Advent Rising" width="120" height="45"></div>
<div class="col search_name ellipsis">
<h4>Advent Rising</h4>
<p>
<img class="platform_img" src="http://cdn.store.steampowered.com/public/images/v5/platforms/platform_win.png" width="22" height="22">Action - Released: Sep 14, 2006 </p>
</div>
<div style="clear: both;"></div>
</a>
<a href="http://store.steampowered.com/app/21600/?snr=1_7_7_230_150_1" class="search_result_row odd" >
<div class="col search_price">&#36;9.99</div>
<div class="col search_type">
<img src="http://cdn.store.steampowered.com/public/images/ico/ico_type_app.gif">
</div>
<div class="col search_metascore"></div>
<div class="col search_released">Mar 9, 2009</div>
<div class="col search_capsule"><img src="http://cdn.steampowered.com/v/gfx/apps/21600/capsule_sm_120.jpg?t=1241745879" alt="Buy Age of Booty&trade;" width="120" height="45"></div>
<div class="col search_name ellipsis">
<h4>Age of Booty&trade;</h4>
<p>
<img class="platform_img" src="http://cdn.store.steampowered.com/public/images/v5/platforms/platform_win.png" width="22" height="22">Strategy, Casual - Released: Mar 9, 2009 </p>
</div>
<div style="clear: both;"></div>
</a>
<a href="http://store.steampowered.com/app/6330/?snr=1_7_7_230_150_1" class="search_result_row even" >
<div class="col search_price">&#36;29.99</div>
<div class="col search_type">
<img src="http://cdn.store.steampowered.com/public/images/ico/ico_type_app.gif">
</div>
<div class="col search_metascore">80</div>
<div class="col search_released">Sep 4, 2008</div>
<div class="col search_capsule"><img src="http://cdn.steampowered.com/v/gfx/apps/6330/capsule_sm_120.jpg?t=1307070850" alt="Buy Age of Conan: Hyborian Adventures" width="120" height="45"></div>
<div class="col search_name ellipsis">
<h4>Age of Conan: Hyborian Adventures</h4>
<p>
<img class="platform_img" src="http://cdn.store.steampowered.com/public/images/v5/platforms/platform_win.png" width="22" height="22">Massively Multiplayer, RPG - Released: Sep 4, 2008 </p>
</div>
<div style="clear: both;"></div>
</a>
<a href="http://store.steampowered.com/app/6350/?snr=1_7_7_230_150_1" class="search_result_row odd" >
<div class="col search_price">&#36;29.99</div>
<div class="col search_type">
<img src="http://cdn.store.steampowered.com/public/images/ico/ico_type_app.gif">
</div>
<div class="col search_metascore">83</div>
<div class="col search_released">Jun 28, 2010</div>
<div class="col search_capsule"><img src="http://cdn.steampowered.com/v/gfx/apps/6350/capsule_sm_120.jpg?t=1307478071" alt="Buy Age of Conan: Rise of the Godslayer" width="120" height="45"></div>
<div class="col search_name ellipsis">
<h4>Age of Conan: Rise of the Godslayer</h4>
<p>
<img class="platform_img" src="http://cdn.store.steampowered.com/public/images/v5/platforms/platform_win.png" width="22" height="22">Massively Multiplayer - Released: Jun 28, 2010 </p>
</div>
<div style="clear: both;"></div>
</a>
<a href="http://store.steampowered.com/app/61500/?snr=1_7_7_230_150_1" class="search_result_row even" >
<div class="col search_price">&#36;5.99</div>
<div class="col search_type">
<img src="http://cdn.store.steampowered.com/public/images/ico/ico_type_app.gif">
</div>
<div class="col search_metascore"></div>
<div class="col search_released">Oct 2010</div>
<div class="col search_capsule"><img src="http://cdn.steampowered.com/v/gfx/apps/61500/capsule_sm_120.jpg?t=1287193172" alt="Buy Age of Wonders" width="120" height="45"></div>
<div class="col search_name ellipsis">
<h4>Age of Wonders</h4>
<p>
<img class="platform_img" src="http://cdn.store.steampowered.com/public/images/v5/platforms/platform_win.png" width="22" height="22">Strategy, RPG - Released: Oct 2010 </p>
</div>
<div style="clear: both;"></div>
</a>
<a href="http://store.steampowered.com/app/61510/?snr=1_7_7_230_150_1" class="search_result_row odd" >
<div class="col search_price">&#36;9.99</div>
<div class="col search_type">
<img src="http://cdn.store.steampowered.com/public/images/ico/ico_type_app.gif">
</div>
<div class="col search_metascore">86</div>
<div class="col search_released">Oct 2010</div>
<div class="col search_capsule"><img src="http://cdn.steampowered.com/v/gfx/apps/61510/capsule_sm_120.jpg?t=1307478193" alt="Buy Age of Wonders II: The Wizard's Throne" width="120" height="45"></div>
<div class="col search_name ellipsis">
<h4>Age of Wonders II: The Wizard's Throne</h4>
<p>
<img class="platform_img" src="http://cdn.store.steampowered.com/public/images/v5/platforms/platform_win.png" width="22" height="22">Strategy, RPG - Released: Oct 2010 </p>
</div>
<div style="clear: both;"></div>
</a>
<a href="http://store.steampowered.com/app/61520/?snr=1_7_7_230_150_1" class="search_result_row even" >
<div class="col search_price">&#36;9.99</div>
<div class="col search_type">
<img src="http://cdn.store.steampowered.com/public/images/ico/ico_type_app.gif">
</div>
<div class="col search_metascore">82</div>
<div class="col search_released">Oct 2010</div>
<div class="col search_capsule"><img src="http://cdn.steampowered.com/v/gfx/apps/61520/capsule_sm_120.jpg?t=1307478453" alt="Buy Age of Wonders Shadow Magic" width="120" height="45"></div>
<div class="col search_name ellipsis">
<h4>Age of Wonders Shadow Magic</h4>
<p>
<img class="platform_img" src="http://cdn.store.steampowered.com/public/images/v5/platforms/platform_win.png" width="22" height="22">Strategy, RPG - Released: Oct 2010 </p>
</div>
<div style="clear: both;"></div>
</a>
<!-- End List Items -->
</div>
<div class="search_pagination">
<div class="search_pagination_left">
showing 1 - 25 of 1346 </div>
<div class="search_pagination_right">
Page:
1&nbsp;|&nbsp; <a href="http://store.steampowered.com/search/?sort_by=Name&sort_order=ASC&category1=998&page=2" onclick="SearchLinkClick( this ); return false;">2</a>
&nbsp;|&nbsp; <a href="http://store.steampowered.com/search/?sort_by=Name&sort_order=ASC&category1=998&page=3" onclick="SearchLinkClick( this ); return false;">3</a>
&nbsp;...&nbsp;<a href="http://store.steampowered.com/search/?sort_by=Name&sort_order=ASC&category1=998&page=54" onclick="SearchLinkClick( this ); return false;">54</a>
&nbsp;<a href="http://store.steampowered.com/search/?sort_by=Name&sort_order=ASC&category1=998&page=2" onclick="SearchLinkClick( this ); return false;">&gt;&gt;</a>
</div>
<div style="clear: both;"></div>
</div>
</div>
DOC
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment