getFirefoxCookies: Retrieve data frame of current Firefox cookies

Description Usage Arguments Value Author(s)

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

1
2
3
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


omegahat/RGoogleTrends documentation built on May 24, 2019, 1:53 p.m.