R
R
rockwell3232020-08-19 00:16:02
Node.js
rockwell323, 2020-08-19 00:16:02

How to wait for the virtual DOM of a third party site to load?

I want to parse the site, but as I understand it, all of the content is loaded with a virtual DOM and, as a result, only the main frame is parsed, but what I need is loaded later, the question is how can I wait for the third-party site to fully load so that I can safely parse it?
ZY I use nodejs from the module node-fetch, jsdom, jquery.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Aetae, 2020-08-19
@Aetae

An alternative to Pardon Me! Where Do I Find 4giveness? - deal with the api that the site uses to get data to build this virtual DOM, and work with it directly.
Here it is worth choosing a method that will require less time and effort, which depends on the architecture of that site.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question