From: Daniel Huckstep Date: 2009-04-21T07:54:04+09:00 Subject: Re: Get Source Code of a http://... site? If you just need to get it, for archive or something, and just chose ruby, have a look at httrack. Not ruby, just its own app, but it mirrors pages. - Daniel On Mon, Apr 20, 2009 at 3:04 AM, Joshua Muheim wrote: > Robert Klemme wrote: >> 2009/4/20 Joshua Muheim : >>> Oh, I wasn't clear enough, I just need the XHTML code, no >>> behind-the-scenes Ruby or PHP or stuff. ;-) >> >> There are mechanize, hpricot and a few other alternatives that can >> help you there. >> >> Cheers >> >> robert > > Thanks, but that would be a big overkill I guess. I found the following > site which explains how to do it with just a few original methods: > > http://blog.thembid.com/2007/08/06/using-ruby-to-scrape-a-web-page/ > -- > Posted via http://www.ruby-forum.com/. > > -- - Daniel