Patent ID: 8819028

Claim:
A computer implemented method for Web content extraction, comprising: extracting Web content in a Webpage by identifying at least one paragraph, at least one title and at least one image in the Web content based on line-break node determination, wherein the extracting includes generating a sequence of leaf nodes in an order of their presence in the Web content in the Webpage; determining nodes representing line-breaks in the generated sequence of leaf nodes, wherein the determined nodes representing the line-breaks are line-break nodes; and grouping the sequence of leaf nodes into multiple subsets of leaf nodes including at least one of text leaf nodes and non-text leaf nodes based on the determined line-break nodes; determining whether the multiple subsets of leaf nodes include at least one subset of the non-text leaf nodes; and if so, removing the at least one subset of the non-text leaf nodes from the multiple subsets of leaf nodes to identify the at least one paragraph; and outputting the Web content including the identified at least one paragraph, the at least one title, and the at least one image.