Wait for Requests
Wait for Request Counter
The Network Capture feature includes two parameters that work together to ensure you capture the necessary network requests during a scraping session:
wait_for_requests_count: This parameter allows you to set the minimum number of network requests that must be captured. If this minimum is not reached within the standard request duration, the duration will be extended until the specified number of requests is captured, or until the timeout limit is reached.
wait_for_requests_count_timeout: This parameter defines the maximum amount of time the request duration can be extended to capture the minimum number of network requests specified by the
wait_for_requests_count
parameter. This ensures that the scraping process remains efficient and does not exceed a reasonable time limit.
These parameters are essential for scenarios where capturing a specific amount of network data is critical, offering precise control over the scraping process.
Example Request
Last updated