Reputation: 11121
This question is linked with my other question "log in with browser and then ruby/mechanize takes it over?"
I am not able 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:
Upvotes: 2
Views: 1366
Reputation: 11121
I do not know how to pass cookies and headers to Mechanize. I do not need this workaround any more but I can recommend these Firefox addons for analyzing/saving/viewing cookies and HTTP headers. They helped me to find a solution:
Upvotes: 1