From: "Thomas Bl." Date: 2008-08-16T19:13:45+09:00 Subject: Re: firefox html, my downloaded html and firebug html different? Hello there. I don't know why the html differs, but I think the browsers must send some different data to the server in their requests. Maybe you have some cookies for the page in one of them, and don't have any in the other, or maybe the Accept header is different. You can check what your Firefox sends using Data Tamper: https://addons.mozilla.org/en-US/firefox/addon/966 . Now if you want your own requests from Ruby to be more flexible, use Net::HTTP instead. require 'net/http' Net::HTTP::start("www.amazon.com")\ { |http| header= { "Accept"=>"*/*", "User-Agent"=>"MyRubyProgram", } h,b=*http.get("/") p h p b p h.code p h.message p h.to_hash } -- Posted via http://www.ruby-forum.com/.