最新消息:20210816 当前crifan.com域名已被污染,为防止失联,请关注(页面右下角的)公众号

标签:解析html

【记录】Python中尝试用lxml去解析html
Python

【记录】Python中尝试用lxml去解析html

crifan 11年前 (2013-05-27) 11642浏览 0评论

【背景】 Python中,之前一直用BeautifulSoup去解析html的: 【教程】Python中第三方的用于解析HTML的库:BeautifulSoup 后来听说BeautifulSoup很慢,而lxml解析html速度很快,所以打算去试试...

63 queries in 0.149 seconds, using 21.80MB memory