阅读背景:

使用python和lxml从大型HTML文件中解析和提取信息

来源:互联网 

I would like to parse large HTML files and extract information from those files through xpath. Aiming to do that, I'm using python and lxml. However, lxml seems not to work well with large files, it can parse correctly files whose size isn't larger than around 16 MB. The fragment of code where it tries to extract information from HTML code though xpath is the following:I would like to parse large HTML files and extr




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: