Web Data Examples · Example 3 of 6

Web data parsed as soon as the HTML document is ready (wait_until=domcontentloaded), without waiting for later loading.

Asks for the web data of https://developer.mozilla.org/en-US/, parsed on the domcontentloaded event (wait_until=domcontentloaded).

The default waits for three events (networkidle2,load,domcontentloaded); domcontentloaded alone does not wait for images, scripts loaded later or network activity to calm down, which is faster. For this page the result matches the default one: the same six technologies, visible text of 4,681 characters and an HTML source of 72,322 characters, six more than in the default example. networkidle0 (no network connections for a moment) is the strictest value.

Request

What this example sends. Every parameter is documented on Web Data; the exact request is in the code panel.

ParameterValue
urlqueryhttps://developer.mozilla.org/en-US/
wait_untilquerydomcontentloaded

Reference updated