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
Which package is this bug report for? If unsure which one to select, leave blank
@crawlee/core
Issue description
As shown in the API documentation but not explicitly stated anywhere, sendRequest takes an overrideOptions object that overrides options so that whatever you put into overrideOptions.headers.cookie or overrideOptions.cookieJar doesn't really matter if you won't also override overrideOptions.cookieJar.setCookie (or whatever internal function) to modify session cookies.
Which package is this bug report for? If unsure which one to select, leave blank
@crawlee/core
Issue description
As shown in the API documentation but not explicitly stated anywhere,
sendRequest
takes an overrideOptions object that overrides options so that whatever you put intooverrideOptions.headers.cookie
oroverrideOptions.cookieJar
doesn't really matter if you won't also overrideoverrideOptions.cookieJar.setCookie
(or whatever internal function) to modify session cookies.I think this should be explained somewhere here: https://crawlee.dev/docs/guides/got-scraping#cookiejar
My code: git@github.com:MatousMarik/send-request-bug.git
Platform run: https://console.apify.com/actors/tIFxT28Ja3LFuVjkA/source
Code sample
Package version
3.12.0
Node.js version
node@22.7.0, typescript@5.6.3
Operating system
Sequoia 15.1 (24B83)
Apify platform
I have tested this on the
next
releaseNo response
Other context
git@github.com:MatousMarik/send-request-bug.git
https://console.apify.com/actors/tIFxT28Ja3LFuVjkA/source
The text was updated successfully, but these errors were encountered: