Abstract
Aiming at the problems of DOM tree-based webpage segmentation methods in rationality of segmentation results, efficiency, and relying on auxiliary means, in this paper, we propose a new method based on node information entropy of the DOM tree. First, it classified webpage tags and only processed tags that affected the structure of pages. Second, comprehensively considering the content features and the structure features of DOM tree nodes, it calculated information entropy of nodes and maximum text density of subnodes, and based on them, determined whether a node was an independent page block. Finally, this method did node fusion to get the segmentation results. Segmentation tests of multiple web pages with different structures show that the proposed method can accurately and quickly segment the content of web pages.