最新消息:20210917 已从crifan.com换到crifan.org

标签:解析html

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

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

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

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

79 queries in 0.164 seconds, using 23.10MB memory