最赞回答 / dragonboss4059319
为什么不是urllib2.Request(url) Request应该是urllib2下的对象吧看报错克制urllib.request模块下的Request的对象是不一样的
2017-02-05
已采纳回答 / chaowanghn
安装beautifulsoup4$ easy_install beautifulsoup4$ pip install beautifulsoup4然后from bs4 import BeautifulSoup
2017-01-26