Martin Boese wrote: > It's very easy, just do: > > > require 'net/http' > > website = Net::HTTP.get 'www.yahoo.com', '/' > > Now you have the yahoo.com startpage sourcode in website. To see it: > > > puts website > > The Net::HTTP documentation has more examples: > > http://www.ruby-doc.org/stdlib/libdoc/net/http/rdoc/index.html > > > Martin Great example, but because I'm lazy, I prefer open-uri: > require 'open-uri' > puts open('http://www.yahoo.com').read Probably better to get familiar with Net::HTTP, but when that gets old... :-)