开发者

I'm parsing an HTML using lxml, but I only want a small subset of tags. What's the most efficient way to do this?

开发者 https://www.devze.com 2023-02-11 03:55 出处:网络
I\'d prefer not to build the entire tree in memory and just pick the elements I\'m lo开发者_StackOverflowoking for.You could always use PyQuery; a JQuery like library for quick xml and xhtml manipulat

I'd prefer not to build the entire tree in memory and just pick the elements I'm lo开发者_StackOverflowoking for.


You could always use PyQuery; a JQuery like library for quick xml and xhtml manipulation.

0

精彩评论

暂无评论...
验证码 换一张
取 消