Universal method for capturing webpage contents of any webpage
A webpage content and webpage technology, applied in the network field, can solve problems such as repetitive work, easy parsing errors, low efficiency, etc., and achieve the effect of improving efficiency
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0020] A general method for grabbing webpage content applicable to any webpage, comprising the following steps:
[0021] 1) The client enters a target URL to be captured and a conditional expression, and generates a subpage displaying all the content of the webpage on the client;
[0022] 2) The client parses the conditional expression into an array variable of node labels and conditions;
[0023] 3) Traverse the array, find out the nodes that meet the conditions on the subpage, and save all the nodes that meet the last condition to an array variable;
[0024] 4) The client obtains the innerHTML attribute value or the outerHTML attribute value of all nodes in the saved array variable.
[0025] The specific steps of the method of the present invention are described in further detail below:
[0026] see figure 1 , figure 2 , input a valid URL on the client side, (for example: www.baidu.com), and a conditional expression, (for example: / div[@class=list]) to send a request to...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com