1

I log in a SNS website with my own accounts in real firefox browser.( it needs verify code! ) and now I want to do something with mechanize in python. I imported all cookies that current firefox browser kept to a MozillaCookieJar instance called "cj", and then created a browser br=Mechanize.Browser(), set its cookiejar br.set_cookiejar(cj), but when I use it to open the SNS website again in python br.open(site) it told me I did'nt log in yet, are there some key steps that I missed?

best regards!

4

1 回答 1

1

如果机械化还不够,我建议你使用:Selenium 或Spynner 。

于 2012-05-03T11:05:29.123 回答