Webpage data acquisition method and device and electronic equipment
Through the browser extension monitoring of page changes and setting web page request hooks, efficient acquisition of asynchronous request data in dynamic web pages is achieved, the problem of low generalization of data acquisition in the existing technology is solved, and automated data recording and storage is realized.
Patent Information
- Application Number
- CN202411717174.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-27
- Publication Date
- 2025-03-28
AI Technical Summary
In the prior art, when obtaining asynchronous request data in dynamic web pages, it is difficult to achieve high ubiquitousness, and specific scripts are required to adapt to data acquisition of different web pages.
The browser extension realizes the acquisition of web page data, uses the browser tab monitoring hook to monitor page changes in real time, enables the browser debugging mode and sets the web page request hook, receives and classifies web page requests, constructs a data storage structure, and regularly analyzes the network protocol to store the data returned by the server.
It realizes efficient acquisition of asynchronous requested data in dynamic web pages, improves the universality of data acquisition, and does not require users to write scripts to obtain data, automatically record and store data, and adapt to web page changes.