Setting Up Cookies
To do it, you can use the cookies parameter:
# SETTING UP COOKIE JAR - config: cookies: - domain: domain.com name: sessionid value: ADH7HSSHDj78DJJSH8896HHH path: / - domain: domain.com name: category value: 123
Fields domain, name, and value are mandatory for each cookie you set, and the path field is optional. Field domain is used to specify domain which can access value of this cookie, name of cookie you have to put to the name field, and the value helds its value. In the field path you can set path of website where this cookie will be available, you can omit this field or set it to "/" to have cookie available on entire website.