| getFirefoxCookies {RGoogleTrends} | R Documentation |
This function reads the current/live collection of cookies from the Firefox browser. One can specify which cookie database to use. In the future, one will be able to specify the user name, i.e. the profile identifier.
getFirefoxCookies(cookieJar = findCookiesFile(copy),
con = dbConnect(SQLite(), cookieJar),
copy = TRUE)
cookieJar |
the name of the file containing the cookies |
con |
a connection to the database. This is a parameter to allow an existing connection to be reused. |
copy |
whether to copy the cookie file. This is TRUE
so that we don't have issues with Firefox locking the file. |
A data frame with 9 columns.
id |
|
name |
the name of the cookie |
value |
the value of the cookie |
host |
the host for which the cookie is targeted |
path |
the path within the host for the cookie |
expiry |
when the cookie expires |
lastAccessed |
|
isSecure |
a logical value indicating whether the cookie is secure or not |
isHttpOnly |
whether the cookie is intended for HTTP only |
Duncan Temple Lang