Ruby on Rails
Wednesday, April 6, 2011
Setting User Agent in Nokogiri
Nokogiri::HTML(open(url, "User-Agent" => "Ruby/#{RUBY_VERSION}"))
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment