addCookie

addCookie ( string name , string value , string _url ) : void

Add a cookie in the cookie manager of the scrapper. If value=deleted, it remove the cookie.

Example


addCookie("cookieName", "cookieValue", "http://www.example.com")

Parameters

name

The name of the cookie

value

The value of the cookie

_url (optional)

An url to find the good cookie, by host. It is important to enter a real URL with http:// and not just the host. Ex: https://www.idia-tech.com.