Apify and Crawlee Official Forum

Updated 12 months ago

Saving cookies

Hi, I am building a private actors for my use case which involves logins. I need to save the cookies. What is the best way to save the cookies and use it later within tha actor?
M
a
2 comments
I think you could use key-value storage. Judging by the description there is no strict limit on the length of value - https://docs.apify.com/platform/storage/key-value-store

This way you can convert cookies into a convenient string value and store it in value
hey , you can stringify and save them as json
Add a reply
Sign up and join the conversation on Discord