Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BrowserType ¶
type BrowserType string
const ( BrowserAuto BrowserType = "auto" BrowserChrome BrowserType = "chrome" BrowserFirefox BrowserType = "firefox" BrowserSafari BrowserType = "safari" BrowserZen BrowserType = "zen" )
type CookieExtractor ¶
type CookieExtractor struct {
// contains filtered or unexported fields
}
func NewCookieExtractor ¶
func NewCookieExtractor(browserType BrowserType, customPaths map[string]string) *CookieExtractor
func (*CookieExtractor) DetectAvailableBrowsers ¶
func (ce *CookieExtractor) DetectAvailableBrowsers() []BrowserType
func (*CookieExtractor) ExtractCookies ¶
func (ce *CookieExtractor) ExtractCookies(targetURL string) ([]*http.Cookie, error)
Click to show internal directories.
Click to hide internal directories.