From: Mike Dalessio Date: 2012-04-19T02:58:53+09:00 Subject: Re: Questions about blog scraping. --20cf3056389fdb33f104bdf7ce29 Content-Type: text/plain; charset=ISO-8859-1 Hello, On Wed, Apr 18, 2012 at 1:10 PM, Panagiotis Atmatzidis wrote: > Hello, > > I need some sort of advise over where to start digging (and how) because > I'm a bit confused. > > I'd like to be able to grab all content from a website. Using nokogiri I > can use XPath and get blog post content among other things from a web page. > But I don't have a clue about where to start looking in order to be able to > scan a website flying through all possible links that include that website. > > Is nokogiri the right tool or should I use something like mechanize? Can > you provide any hint on how to perform scraping on an entire website? I'm > interested in blogs mostly, wordpress and blogger platforms for the time > being. > I recommend starting by watching Ryan Bates's excellent screencasts: * http://railscasts.com/episodes/190-screen-scraping-with-nokogiri * http://railscasts.com/episodes/191-mechanize --20cf3056389fdb33f104bdf7ce29 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hello,

On Wed, Apr 18, 2012 at 1:10 PM, P= anagiotis Atmatzidis <ml@convalesco.org> wrote:
Hello,

I need some sort of advise over where to start digging (and how) because I&= #39;m a bit confused.

I'd like to be able to grab all content from a website. Using nokogiri = I can use XPath and get blog post content among other things from a web pag= e. But I don't have a clue about where to start looking in order to be = able to scan a website flying through all possible links that include that = website.

Is nokogiri the right tool or should I use something like mechanize? Can yo= u provide any hint on how to perform scraping on an entire website? I'm= interested in blogs mostly, wordpress and blogger platforms for the time b= eing.

I recommend starting by watching Ryan Bate= s's excellent screencasts:

*=A0http://railsc= asts.com/episodes/190-screen-scraping-with-nokogiri
*=A0http://ra= ilscasts.com/episodes/191-mechanize

--20cf3056389fdb33f104bdf7ce29--