简体   繁体   English

机械化模块Python自动登录

[英]Mechanize Module Python Autologin

So i am creating a script using mechanize module that logs in and goes to a page. 因此,我正在使用机械化模块创建脚本,该脚本登录并转到页面。 But the problem is that in order to visit that page a client has to click a button where type="button" instead of "submit" hence mechanize is of no use to me. 但是问题是,为了访问该页面,客户必须单击一个按钮,其中type =“ button”而不是“ submit”,因此机械化对我没有用。 Is there anything apart from it where i can do stuff using python only... 除了它之外,我还可以使用python做任何事情吗?

If not in python then which other language to follow? 如果不是使用python,那么应该遵循哪种其他语言?

Selenium + PhantomJS如果您想使用无头浏览器来实现。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM