2012年6月20日

摘要: Parsing XMLOne of the first things you'll probably want to do is to parse an XML document of some kind. This is easy to do in dom4j. The following code demonstrates how to this.import java.net.URL;import org.dom4j.Document;import org.dom4j.DocumentException;import org.dom4j.io.SAXReader;public c 阅读全文
posted @ 2012-06-20 09:51 setail 阅读(171) 评论(0) 推荐(0)

2012年1月29日

摘要: 最后的脚本是:curl --dump-header head1.txt -c cookie -d "email={账号名}&password={密码}" http://www.renren.com/PLogin.docurl --dump-header head2.txt -L-b cookie http://www.renren.com/home首先去人人登陆页面上,看到表单发往http://www.renren.com/PLogin.do,主要需要post的数据有email和password两个,于是尝试执行:curl -d "email={账号名}& 阅读全文
posted @ 2012-01-29 19:00 setail 阅读(922) 评论(0) 推荐(0)

导航