views:

288

answers:

1

this questions is linked with my other question log in with browser and then ruby/mechanize takes it over?

I am not able (hopefully I will in near future :-) to log into one website using ruby/mechanize so I was thinking if there is any workaround for the log in part. After that I want my script to take over and do its job.

Could somebody suggest what is the best/easiest way

  • to capture all info (cookies & do I need anything else) and
  • pass it to ruby/mechanize?
+1  A: 

I do not know how to pass cookies and headers to mechanize. I do not need this workaround any more but I can recommend for analyzing/saving/viewing cookies and http headers firefox addons. They helped me to find a solution.

  • Live HTTP headers
  • Firebug
  • httpfox
  • webdeveloper
Radek