• Stars
    star
    12
  • Rank 1,545,043 (Top 32 %)
  • Language
    Go
  • License
    MIT License
  • Created over 6 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

cookiestxt implement parser of cookies txt format

cookiestxt

Build Status Go Reference GoReportCard Coverage Status Mentioned in Awesome Go

cookiestxt implement parser of cookies txt format

Usage

package main

import (
        "log"
        "strings"

        "github.com/mengzhuo/cookiestxt"
)

func main() {
        buf := strings.NewReader(`
        # This example taken from http://www.cookiecentral.com/faq/#3.5
        #HttpOnly_.netscape.com TRUE / FALSE 946684799 NETSCAPE_ID 100103
        `)
        cl, err := cookiestxt.Parse(buf)
        log.Print(cl, err)
}
$ go run main.go 

[NETSCAPE_ID=100103; Path=/; Domain=netscape.com; Expires=Fri, 31 Dec 1999 23:59:59
 GMT; HttpOnly] <nil>

More Repositories

1

sqlalchemy-fulltext-search

Offering FullText Search of MySQL in SQLAlchemy
Python
90
star
2

nabhash

An extremely fast Non-crypto-safe AES Based Hash algorithm for Big Data
Go
65
star
3

gontpd

A high performance NTP daemon written in Go.
Go
47
star
4

intrinsic

Provide Golang native SIMD intrinsics on x86/amd64 platform
Go
46
star
5

bla

Static blog based on golang
Go
38
star
6

hikey970-ubuntu-image

Shell
19
star
7

github-visual-profile

Generate Github profile
Python
14
star
8

dhcp-CVE-2014-6271

DhcpTakeover - DHCP server For CVE-2014-6271 or Shellshock
Python
14
star
9

go6502

Go emulator for MOS 6502
HTML
13
star
10

dirty-cow-golang

Dirty Cow implement in Go
Go
11
star
11

tlscat

Netcat like with tls enable in Golang
Go
10
star
12

ucloud-go-sdk

Go
10
star
13

sm3

Go
8
star
14

gnome-shell-window-open-animation-slide-in

JavaScript
6
star
15

gnome-shell-window-open-animation-scale-in

JavaScript
6
star
16

gnome-shell-headphone-indicator

Indicate Headphone status in Gnome-shell panel
JavaScript
5
star
17

uint128

uint128 for Golang
Go
5
star
18

personal-Vim

This is a personal ~/.vim folder repo
Vim Script
4
star
19

gnome-shell-banshee-doubanfm

NOT MAINTAINED ANYMORE
JavaScript
4
star
20

x86data

3
star
21

gnome-shell-window-open-animation-rotate-in

JavaScript
3
star
22

go-usb-relay

usb relay lib
Go
3
star
23

Genetic-Algorithms-in-Python

Genetic Algorithms Demo in Python
Python
3
star
24

douban-group-bot

An auto bot to get the sofa of douban group
Python
3
star
25

grcat

Colour Your Bash
JavaScript
2
star
26

moe

Go
2
star
27

hugo-theme-goblog

HTML
2
star
28

gnome-shell-example

A simple example
JavaScript
2
star
29

justrpc

Python Json-RPC made with gevent and cjson on simple TCP connections
Python
2
star
30

auto-gen-sdk-talks-at-bjgug

Go自动生成SDK实践
Go
2
star
31

rhythmbox-plugin-earphone

a plugin for rhythmbox to avoid earphone unpluged
Python
1
star
32

hikey970-ubuntu-flash-tool

Shell
1
star
33

ioloop

Python
1
star
34

irc

Fast IRC decode/encode library with zero allocation
Go
1
star
35

dp

Distributed pipeline
Go
1
star
36

nn

Neural Network algorithm in Go
Go
1
star
37

llama2.go

Implement LLaMa 2 in pure go with cgo
Go
1
star