Anova Law Group, PLLC
Method and apparatus for extracting web page content
Methods and apparatus for extracting web page content are provided herein. An exemplary method can be implemented by a mobile terminal. A request command to open a first web page can be received. Whether a source code contains text content tags can be determined. When the source code corresponding to the first web page contains the text content tags, text content of the first web page enclosed within the text content tags can be extracted by a reader. When the source code does not contain the text content tags, a start position and an end position to indicate the text content of the first web page can be identified in the source code. The text content tags can be respectively added after the start position and before the end position. The text content of the first web page enclosed within the text content tags can then be extracted.
TENCENT TECHNOLOGY (SHENZHEN) COMPANY LIMITED
G G G G G G
G06F G06F G06F G06F G06F G06F
inventional inventional inventional inventional inventional inventional
Sirui Tingyong Kai Yulei Cheng Xi Wei Bo Zhipei Bosen Ying Zhengkai Huijiao
Liu Tang Zhang Liu Feng Wang Li Hu Wang He Huang Xie Yang