现在使用的python3,那个urlib2更改为urllib.request了。第三种方法的cooki也变了。
2015-12-19
Couldn't find a tree builder with the features you requested: html_parser 求解
2015-12-19