enqueueLinks
Callable
Parameters
options: EnqueueLinksOptions
All
enqueueLinks()
parameters are passed via an options object.
Returns Promise<BatchAddRequestsResult>
Promise that resolves to BatchAddRequestsResult object.
Crawlee for Python is open to early adopters! 🥳️
All enqueueLinks()
parameters are passed via an options object.
Promise that resolves to BatchAddRequestsResult object.
This function enqueues the urls provided to the RequestQueue provided. If you want to automatically find and enqueue links, you should use the context-aware
enqueueLinks
function provided on the crawler contexts.Optionally, the function allows you to filter the target links' URLs using an array of globs or regular expressions and override settings of the enqueued Request objects.
Example usage