Displaying 1 result from an estimated 1 matches for "llpxeq4amua".
2009 Apr 01
2
hpricot won't scrape! (newb question)
...#39;
@url = "http://www.greatnonprofits.org/"
@response = ''''
begin
# open-uri RDoc: http://stdlib.rubyonrails.org/libdoc/open-uri/rdoc/index.html
open(@url, "User-Agent" => "Ruby/#{RUBY_VERSION}",
"From" => "email-LLpXEq4AMUA@public.gmane.org",
"Referer" => "http://www.igvita.com/blog/") { |f|
puts "Fetched document: #{f.base_uri}"
puts "\t Content Type: #{f.content_type}\n"
puts "\t Charset: #{f.charset}\n"
puts "\t Content-Encodin...