S
S
Spokich2019-09-25 10:40:44
Node.js
Spokich, 2019-09-25 10:40:44

Waiting for Node.JS site to load, Request, Cheerio?

Good afternoon, I'm using Request and Cheerio to take some information from the site and send it to a message for a discord bot. The problem is that as soon as the site is loaded, it has slightly incorrect values, and they are loaded in a second or two after the site is loaded. Here's how, after connecting to the site, give the script time to load it, and not make it take information immediately after the site loads?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question