RequestTransform
Callable
Parameters
original: RequestOptions<Dictionary>
Request options to be modified.
Returns undefined | null | false | RequestOptions<Dictionary>
The modified request options to enqueue, or any falsy value to skip the request.
Request options to be modified.
The modified request options to enqueue, or any falsy value to skip the request.
Takes an Apify RequestOptions object and changes its attributes in a desired way. This user-function is used enqueueLinks to modify requests before enqueuing them.