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

标签:解析html

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

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

crifan 12年前 (2013-05-27) 10265浏览 0评论

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

73 queries in 0.406 seconds, using 19.88MB memory