How to find the POST or GET variables posted by mechanize (python)?

– significance Nov 23 '10 at 20:58 cookies will be in the HTTP headers. – Corey Goldberg Nov 23 '10 at 21:59.

You can enable debug mode in mechanize by putting this: import mechanize br = mechanize.Browser() br. Set_debug_http(True) ... Hope this can help :).

Yes, that does help, thanks! - I can now see the variables going out... any ideas how to get to them from the mechanize. Browser object?

:) – significance Nov 17 '10 at 17:20 Sorry but I don't think so , and if you want to save the debug info or something, I don't know an easy way to do this, because this function enable the debug info to be print in the sys. Stdout but I think what you can do it to capture the output to be put in a file by redirecting the sys. Stdout to a file or if you want you can also create a class or a function(decorator maybe) that capture this info and save it in an attribute that you can add to browser instance or to a new class that you can create for this purpose ... hope my explanation can help :) – mouad Nov 17 '10 at 21:22.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions