Ruby on Rails
Tuesday, April 12, 2011
Setting User Agent in Typhoeus
Typhoeus::Request.new("http://www.example.com",:user_agent => "Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.10) Gecko/20100915 Ubuntu/10.04 (lucid) Firefox/3.6.10")
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment