• Stars
    star
    12
  • Rank 1,597,372 (Top 32 %)
  • Language
    Go
  • License
    MIT License
  • Created about 7 years ago
  • Updated about 2 years 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

go6502

Go emulator for MOS 6502
HTML
13
star
9

dirty-cow-golang

Dirty Cow implement in Go
Go
11
star
10

tlscat

Netcat like with tls enable in Golang
Go
10
star
11

ucloud-go-sdk

Go
10
star
12

sm3

Go
8
star
13

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

JavaScript
6
star
14

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

JavaScript
6
star
15

gnome-shell-headphone-indicator

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

uint128

uint128 for Golang
Go
5
star
17

personal-Vim

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

gnome-shell-banshee-doubanfm

NOT MAINTAINED ANYMORE
JavaScript
4
star
19

x86data

3
star
20

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

JavaScript
3
star
21

go-usb-relay

usb relay lib
Go
3
star
22

Genetic-Algorithms-in-Python

Genetic Algorithms Demo in Python
Python
3
star
23

douban-group-bot

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

go-kcapi

Pure Go binding for Linux Kernel Crypto API
Go
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