You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: allow binding a Session instance to a Request (#3518)
Adds a `sessionId?: string` field to `Request`. If this is set,
`BasicCrawler` will fetch this given session when processing the request
(and will fail if the session is not present in the `SessionPool`).
This PR also adds a `sessionId` parameter to the `enqueueLinks` (and
other?) helper functions. If the request-adding function is called with
this parameter, all enqueued requests will be bound to this session.
Closes#3446
0 commit comments