File get contents -ror
From Sandoz
Revision as of 05:02, 2 February 2011 by Sandoz-admin (Talk | contribs)
response = Net::HTTP.get_response(URI.parse(url)).body
html = open(url, "User-Agent" => getUseragent(), :proxy=>getProxy())
response = Net::HTTP.get_response(URI.parse(url)).body
html = open(url, "User-Agent" => getUseragent(), :proxy=>getProxy())