<?xml version="1.0" encoding="utf-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	>
<channel>
	<title>Comments on: Ruby Screen-Scraper in 60 Seconds</title>
	<atom:link href="http://www.igvita.com/2007/02/04/ruby-screen-scraper-in-60-seconds/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.igvita.com/2007/02/04/ruby-screen-scraper-in-60-seconds/</link>
	<description>A goal is a dream with a deadline.</description>
	<pubDate>Mon, 15 Mar 2010 15:22:20 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: sandeep</title>
		<link>http://www.igvita.com/2007/02/04/ruby-screen-scraper-in-60-seconds/comment-page-2/#comment-231450</link>
		<dc:creator>sandeep</dc:creator>
		<pubDate>Fri, 19 Feb 2010 07:17:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.igvita.com/blog/2007/02/04/ruby-screen-scraper-in-60-seconds/#comment-231450</guid>
		<description>If some website already forbid us, Is there any way to still scrape pages from those websites, without using proxies.??</description>
		<content:encoded><![CDATA[<p>If some website already forbid us, Is there any way to still scrape pages from those websites, without using proxies.??</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Insurance</title>
		<link>http://www.igvita.com/2007/02/04/ruby-screen-scraper-in-60-seconds/comment-page-2/#comment-229703</link>
		<dc:creator>Insurance</dc:creator>
		<pubDate>Mon, 25 Jan 2010 14:04:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.igvita.com/blog/2007/02/04/ruby-screen-scraper-in-60-seconds/#comment-229703</guid>
		<description>Any info on how to do this in C#</description>
		<content:encoded><![CDATA[<p>Any info on how to do this in C#</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kong vanny</title>
		<link>http://www.igvita.com/2007/02/04/ruby-screen-scraper-in-60-seconds/comment-page-1/#comment-229332</link>
		<dc:creator>Kong vanny</dc:creator>
		<pubDate>Wed, 20 Jan 2010 04:05:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.igvita.com/blog/2007/02/04/ruby-screen-scraper-in-60-seconds/#comment-229332</guid>
		<description>Class Library References
# System.Net
# System.IO






private void Page_Load(object sender, System.Event Name e)
{
//Retrieve URL from user input box
if(Page.Is Post Back)
lit HTML from Scraped Page.Text = Get HTML Page( obj URL.Text );
}
public String Get HTML Page(string structure URL)
{
// the HTML retrieved from the page
String structure Result;
Web Response obj Response;
Web Request obj Request = System.Net.HTTP Web Request.Create(structure URL);
obj Response = obj Request.Get Response();
// the using keyword will automatically dispose the object 
// once complete
using (Stream Reader SR = 
new Stream Reader(obj Response.Get Response Stream()))
{
structure Result = SR.Read To End();
// Close and clean up the Stream Reader
SR.Close();
}
return structure Result;
}




Page Scrape in C# - Name Friends



Enter the URL to the page you want to scrape (include the http://)  




</description>
		<content:encoded><![CDATA[<p>Class Library References<br />
# System.Net<br />
# System.IO</p>
<p>private void Page_Load(object sender, System.Event Name e)<br />
{<br />
//Retrieve URL from user input box<br />
if(Page.Is Post Back)<br />
lit HTML from Scraped Page.Text = Get HTML Page( obj URL.Text );<br />
}<br />
public String Get HTML Page(string structure URL)<br />
{<br />
// the HTML retrieved from the page<br />
String structure Result;<br />
Web Response obj Response;<br />
Web Request obj Request = System.Net.HTTP Web Request.Create(structure URL);<br />
obj Response = obj Request.Get Response();<br />
// the using keyword will automatically dispose the object<br />
// once complete<br />
using (Stream Reader SR =<br />
new Stream Reader(obj Response.Get Response Stream()))<br />
{<br />
structure Result = SR.Read To End();<br />
// Close and clean up the Stream Reader<br />
SR.Close();<br />
}<br />
return structure Result;<br />
}</p>
<p>Page Scrape in C# - Name Friends</p>
<p>Enter the URL to the page you want to scrape (include the <a href="http://" rel="nofollow">http://</a>)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: HTML Scraping, RUBY starring HPRICOT and FIREBUG &#124; Ice Kream Koan</title>
		<link>http://www.igvita.com/2007/02/04/ruby-screen-scraper-in-60-seconds/comment-page-1/#comment-211815</link>
		<dc:creator>HTML Scraping, RUBY starring HPRICOT and FIREBUG &#124; Ice Kream Koan</dc:creator>
		<pubDate>Thu, 10 Sep 2009 13:05:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.igvita.com/blog/2007/02/04/ruby-screen-scraper-in-60-seconds/#comment-211815</guid>
		<description>[...] of different ways to tackle this problem, I finally settled on an approach suggested here by igvita.com.  While this got me 90% of the way there, I had to do a bit of twiddling to get it to work [...]</description>
		<content:encoded><![CDATA[<p>[...] of different ways to tackle this problem, I finally settled on an approach suggested here by igvita.com.  While this got me 90% of the way there, I had to do a bit of twiddling to get it to work [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ilya Grigorik</title>
		<link>http://www.igvita.com/2007/02/04/ruby-screen-scraper-in-60-seconds/comment-page-1/#comment-209813</link>
		<dc:creator>Ilya Grigorik</dc:creator>
		<pubDate>Sat, 22 Aug 2009 03:17:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.igvita.com/blog/2007/02/04/ruby-screen-scraper-in-60-seconds/#comment-209813</guid>
		<description>Alan, that almost sounds like your environment is not finding the gem. Try "gem install hpricot" or "gem update hpricot". Also, it does look the signature of one of the methods changed. Rename "inner_html" to "innerHTML" in the scraper. Otherwise, works great on my end.</description>
		<content:encoded><![CDATA[<p>Alan, that almost sounds like your environment is not finding the gem. Try &#8220;gem install hpricot&#8221; or &#8220;gem update hpricot&#8221;. Also, it does look the signature of one of the methods changed. Rename &#8220;inner_html&#8221; to &#8220;innerHTML&#8221; in the scraper. Otherwise, works great on my end.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alan</title>
		<link>http://www.igvita.com/2007/02/04/ruby-screen-scraper-in-60-seconds/comment-page-1/#comment-209706</link>
		<dc:creator>Alan</dc:creator>
		<pubDate>Thu, 20 Aug 2009 19:39:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.igvita.com/blog/2007/02/04/ruby-screen-scraper-in-60-seconds/#comment-209706</guid>
		<description>I made some progress, but now I am getting an "undefined method 'Hpricot' for main:Object (NoMethodError)" error.</description>
		<content:encoded><![CDATA[<p>I made some progress, but now I am getting an &#8220;undefined method &#8216;Hpricot&#8217; for main:Object (NoMethodError)&#8221; error.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alan</title>
		<link>http://www.igvita.com/2007/02/04/ruby-screen-scraper-in-60-seconds/comment-page-1/#comment-209704</link>
		<dc:creator>Alan</dc:creator>
		<pubDate>Thu, 20 Aug 2009 19:17:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.igvita.com/blog/2007/02/04/ruby-screen-scraper-in-60-seconds/#comment-209704</guid>
		<description>Does this still work?  I downloaded your examples.  It runs fine, but doesn't output anything after the Last Modified date.</description>
		<content:encoded><![CDATA[<p>Does this still work?  I downloaded your examples.  It runs fine, but doesn&#8217;t output anything after the Last Modified date.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Screen-Scraper en 60 segundos con Ruby</title>
		<link>http://www.igvita.com/2007/02/04/ruby-screen-scraper-in-60-seconds/comment-page-1/#comment-198065</link>
		<dc:creator>Screen-Scraper en 60 segundos con Ruby</dc:creator>
		<pubDate>Tue, 09 Jun 2009 09:04:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.igvita.com/blog/2007/02/04/ruby-screen-scraper-in-60-seconds/#comment-198065</guid>
		<description>[...] Enlace: http://www.igvita.com/2007/02/04/ruby-screen-scraper-in-60-seconds/ [...]</description>
		<content:encoded><![CDATA[<p>[...] Enlace: <a href="http://www.igvita.com/2007/02/04/ruby-screen-scraper-in-60-seconds/" rel="nofollow">http://www.igvita.com/2007/02/04/ruby-screen-scraper-in-60-seconds/</a> [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: grep imdb part 2 ? &#171; taeyoungchoon</title>
		<link>http://www.igvita.com/2007/02/04/ruby-screen-scraper-in-60-seconds/comment-page-1/#comment-180130</link>
		<dc:creator>grep imdb part 2 ? &#171; taeyoungchoon</dc:creator>
		<pubDate>Thu, 26 Mar 2009 13:16:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.igvita.com/blog/2007/02/04/ruby-screen-scraper-in-60-seconds/#comment-180130</guid>
		<description>[...] http://www.igvita.com/2007/02/04/ruby-screen-scraper-in-60-seconds/ [...]</description>
		<content:encoded><![CDATA[<p>[...] <a href="http://www.igvita.com/2007/02/04/ruby-screen-scraper-in-60-seconds/" rel="nofollow">http://www.igvita.com/2007/02/04/ruby-screen-scraper-in-60-seconds/</a> [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nolan Hergert</title>
		<link>http://www.igvita.com/2007/02/04/ruby-screen-scraper-in-60-seconds/comment-page-1/#comment-175786</link>
		<dc:creator>Nolan Hergert</dc:creator>
		<pubDate>Tue, 10 Mar 2009 03:32:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.igvita.com/blog/2007/02/04/ruby-screen-scraper-in-60-seconds/#comment-175786</guid>
		<description>Great tutorial, although I will mention that the Ruby gem Scrubyt will do all this and more! It only needs an example text to scrape the data and there seems to be a good amount of tutorials on it as well. Has worked great so far for me.

&lt;a href="http://scrubyt.org/" rel="nofollow"&gt;Scrubyt&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p>Great tutorial, although I will mention that the Ruby gem Scrubyt will do all this and more! It only needs an example text to scrape the data and there seems to be a good amount of tutorials on it as well. Has worked great so far for me.</p>
<p><a href="http://scrubyt.org/" rel="nofollow">Scrubyt</a></p>
]]></content:encoded>
	</item>
</channel>
</rss>
