CookieParam | API | Crawlee for Python · Fast, reliable Python web crawlers.
Dictionary representation of cookies for SessionCookies.set method.
Index
Properties
domain
Domain for which the cookie is set.
expires
expires: NotRequired[int]
Expiration date for the cookie, None for a session cookie.
http_only
http_only: NotRequired[bool]
Set the HttpOnly flag for the cookie.
name
path
Path on the specified domain for which the cookie is set.
same_site
same_site: NotRequired[Literal[Lax, None, Strict]]
Set the SameSite attribute for the cookie.
secure
secure: NotRequired[bool]
Set the Secure flag for the cookie.