参考:http://www.oschina.net/p/mechanize http://blog.csdn.net/cnweike/article/details/8076440 http://www.crifan.com/files/doc/docbook/web_scrape_emulate_login/release/html/web_scrape_emulate_login.html