cookiestxt

package
v0.0.0-...-92b59c9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 10, 2023 License: GPL-3.0 Imports: 7 Imported by: 1

Documentation

Overview

Package cookiestxt implement parser of cookies txt format that commonly supported by curl / wget / aria2c / chrome / firefox

see http://www.cookiecentral.com/faq/#3.5 for more detail

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Parse

func Parse(rd io.Reader) (cl []*http.Cookie, err error)

Parse cookie txt file format from input stream

func ParseLine

func ParseLine(raw string) (c *http.Cookie, err error)

ParseLine parse single cookie from one line

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL