摘要: beautifulsoup 获取特定html源码(无需登录页面)import refrom bs4 import BeautifulSoupimport urllib2url = 'http://www.cnblogs.com/vickey-wu/'# connect to a URLweb = u 阅读全文
posted @ 2017-05-11 23:18 随便了888 阅读(5319) 评论(0) 推荐(0) 编辑
摘要: 导入Beautifulsoup 报错 AttributeError: 'module' object has no attribute '_base' 解决方法: pip install --upgrade beautifulSoup4 pip install --upgrade html5lib 阅读全文
posted @ 2017-05-11 22:39 随便了888 阅读(1936) 评论(0) 推荐(0) 编辑