From: Joshua Muheim Date: 2009-04-20T17:46:13+09:00 Subject: Re: Get Source Code of a http://... site? Robert Klemme wrote: > 2009/4/20 Joshua Muheim : >> I want to download the source code of a website using Ruby? How can I >> achieve this? ...when searching with Google, I only get download links >> for the Ruby source etc. ;-) > > The source code of a web site is usually not available apart from the > JavaScript you see in pages - for good reasons (security, > copyright...). > > Cheers > > robert Oh, I wasn't clear enough, I just need the XHTML code, no behind-the-scenes Ruby or PHP or stuff. ;-) It's because I want to use captchator.com and I need to check the result (0 or 1) using an URL like this: http://captchator.com/captcha/check_answer/#{captcha_code}/#{@comment.captcha} -- Posted via http://www.ruby-forum.com/.