Forcing Timeouts
WebScrapingAPI allows you to adjust the timeout value in order to obtain lazy loaded content.
When dealing with websites that require longer load time for the full DOM, WebScrapingAPI's default timeout value may result in returning only the portion of the DOM that was gathered until the timeout was triggered.
In that particular case, if you notice that the response from our API only includes fractions of the DOM, you may want to tweak the load time by passing the timeout=$value
parameter.
Your full GET request should then be sent to the following address:
Timeouts Integration Examples
Important! The url
parameter has to be encoded. ( i.e. &url=https%3A%2F%2Fwww.webscrapingapi.com%2F )
Last updated