Monday, August 1, 2011

Setting User Agent in Mechanize


agent = Mechanize.new
agent
.user_agent = 'Custom agent'

No comments:

Post a Comment