Hi all... I want to implement the scraping for my rails application. Any idea??? Thanks... -- Posted via http://www.ruby-forum.com/.
On Thu, Nov 05, 2009 at 07:34:30AM +0100, Smit Shah wrote:> I want to implement the scraping for my rails application.Rails has nothing to do with scraping, except insofar as it''s serving up web pages. You should look at the WWW::Mechanize library instead. -- "Oh, look: rocks!" -- Doctor Who, "Destiny of the Daleks"
Have a look at ScrAPI. It uses css selectors for scraping and is quite simple to use. Ryan Bates has done a screencast as well http://railscasts.com/episodes/173-screen-scraping-with-scrapi On Nov 5, 6:34 am, Smit Shah <rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> Hi all... > > I want to implement the scraping for my rails application. > > Any idea??? > > Thanks... > -- > Posted viahttp://www.ruby-forum.com/.
nas wrote:> Have a look at ScrAPI. It uses css selectors for scraping and is quite > simple to use. > > Ryan Bates has done a screencast as well > http://railscasts.com/episodes/173-screen-scraping-with-scrapiThanks for your reply.. I have seen that episode. But what if site have made change in css? If it will change than I am no longer able to get the data... Any dynamic solution? -- Posted via http://www.ruby-forum.com/.