mechanize for Java

坚强是说给别人听的谎言 提交于 2019-12-18 21:23:10

问题


I was wondering if there is something like Perl's/Python's mechanize for Java.

Thanks!


回答1:


Take a look at HtmlUnit. It is similar to Perl's WWW::Mechanize. There is also a Perl version of it named WWW::HtmlUnit (it uses Inline::Java to expose the Java library's methods to Perl).




回答2:


Yes, there is now! I too wanted mechanize in Java and we've written it.

Please check out http://gistlabs.com/software/mechanize-for-java/ (and the GitHub here https://github.com/GistLabs/mechanize).

Feedback, bug reports, and success stories welcome!!




回答3:


Are you thinking of a generalized web client, like HttpClient?



来源:https://stackoverflow.com/questions/2867499/mechanize-for-java

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!