摘要: Debian/Ubuntu,install$ apt-get install python-bs4easy_install/pip$ easy_install beautifulsoup4$ pip install beautifulsoup4安装第三方分析器bs4只有py2的代码,安装在py3下会很麻烦bs4支持HTML parser,也可以支持第三方的分析器lxml$ apt-get install python-lxml$ easy_install lxml$ pip install lxmlhtml5lib$ apt-get install python-html5lib$ easy_ 阅读全文
posted @ 2014-01-13 21:22 怒杀神 阅读(6695) 评论(0) 推荐(0)