getFirefoxCookies {RGoogleTrends}R Documentation

Retrieve data frame of current Firefox cookies

Description

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.

Usage

getFirefoxCookies(cookieJar = findCookiesFile(copy),
                  con = dbConnect(SQLite(), cookieJar),
                  copy = TRUE)

Arguments

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.

Value

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

Author(s)

Duncan Temple Lang


[Package RGoogleTrends version 0.2-1 Index]