Method for extracting data of webpage table
A technology for table data and web pages, applied in the field of web page table data extraction, can solve the problems of inability to meet the real-time data, waste of time and energy, easy to find errors, etc., and achieve the effect of improving flexibility, improving accuracy, and simplifying extraction methods.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0023] refer to figure 1 As shown, a method for extracting web form data of the present invention comprises the following steps:
[0024] Step 10, read the webpage source code, analyze its webpage source code into the Document object of W3C according to the character encoding, obtain any two keywords in the webpage form;
[0025] Step 20. Depth-first traverse all nodes in the Document object, respectively obtain the first node to which the first keyword belongs, and the second node to which the second keyword belongs; specifically:
[0026] Step 21, obtain the root node root of the Document object, and record it as node;
[0027] Step 22, traverse each child node childNode of the node, and determine whether the childNode is a leaf node; if yes, obtain the value of the childNode, and turn to step 23, otherwise traverse each child node of the childNode, and there is still no key after the traversal is completed Word node, then return to the root node node, and continue to sear...
PUM
![No PUM](https://static-eureka.patsnap.com/ssr/23.2.0/_nuxt/noPUMSmall.5c5f49c7.png)
Abstract
Description
Claims
Application Information
![application no application](https://static-eureka.patsnap.com/ssr/23.2.0/_nuxt/application.06fe782c.png)
- 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