Web page data acquisition method, apparatus and device, and readable storage medium
The invention discloses a web page data acquisition method, apparatus and device, and a computer readable storage medium. The method comprises the steps of collecting DOM events corresponding to DOM nodes of a target web page; determining a target DOM node in the DOM nodes according to the mark info...
Gespeichert in:
Hauptverfasser: | , |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The invention discloses a web page data acquisition method, apparatus and device, and a computer readable storage medium. The method comprises the steps of collecting DOM events corresponding to DOM nodes of a target web page; determining a target DOM node in the DOM nodes according to the mark information corresponding to the target web page; triggering a DOM event of the target DOM node to obtain web page data, and judging whether front-end routing is generated or not; if the front-end route is generated, jumping back to the target web page, and updating the mark information; according to the method, when the front-end route is generated, the target web page is skipped back, meanwhile, the mark information is updated, and the target DOM node is determined according to the mark information, so that the situation that after the DOM tree is rendered again when the web page is skipped, the DOM event of which DOM node is triggered cannot be determined to fall into an endless loop, and then web page data collecti |
---|