{"id":13408609,"url":"https://github.com/mengzhuo/cookiestxt","last_synced_at":"2025-07-29T11:03:49.348Z","repository":{"id":54490313,"uuid":"106274784","full_name":"mengzhuo/cookiestxt","owner":"mengzhuo","description":"cookiestxt implement parser of cookies txt format","archived":false,"fork":false,"pushed_at":"2024-03-12T06:02:59.000Z","size":11,"stargazers_count":20,"open_issues_count":0,"forks_count":6,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-26T19:01:24.036Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mengzhuo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-10-09T11:27:19.000Z","updated_at":"2025-07-22T14:26:27.000Z","dependencies_parsed_at":"2024-01-08T14:30:43.353Z","dependency_job_id":"e38d9669-70f5-4090-a56a-2e11929a975f","html_url":"https://github.com/mengzhuo/cookiestxt","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/mengzhuo/cookiestxt","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mengzhuo%2Fcookiestxt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mengzhuo%2Fcookiestxt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mengzhuo%2Fcookiestxt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mengzhuo%2Fcookiestxt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mengzhuo","download_url":"https://codeload.github.com/mengzhuo/cookiestxt/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mengzhuo%2Fcookiestxt/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267676823,"owners_count":24126299,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-29T02:00:12.549Z","response_time":2574,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-07-30T20:00:54.037Z","updated_at":"2025-07-29T11:03:49.175Z","avatar_url":"https://github.com/mengzhuo.png","language":"Go","funding_links":[],"categories":["Authentication and OAuth","身份验证和OAuth","Authentication and Authorization","认证和OAuth授权","Go","Uncategorized","\u003cspan id=\"身份验证和oauth-authentication-and-auth\"\u003e身份验证和OAuth Authentication and Auth\u003c/span\u003e"],"sub_categories":["Contents"],"readme":"# cookiestxt\n\n[![Build Status](https://github.com/mengzhuo/cookiestxt/actions/workflows/go.yml/badge.svg)](https://github.com/mengzhuo/cookiestxt/actions)\n[![Go Reference](https://pkg.go.dev/badge/github.com/mengzhuo/cookiestxt.svg)](https://pkg.go.dev/github.com/mengzhuo/cookiestxt)\n[![GoReportCard](https://goreportcard.com/badge/github.com/mengzhuo/cookiestxt)](https://goreportcard.com/report/github.com/mengzhuo/cookiestxt)\n[![Coverage Status](https://coveralls.io/repos/github/mengzhuo/cookiestxt/badge.svg?branch=master)](https://coveralls.io/github/mengzhuo/cookiestxt?branch=master)\n[![Mentioned in Awesome Go](https://awesome.re/mentioned-badge-flat.svg)](https://github.com/avelino/awesome-go)\n\ncookiestxt implement parser of cookies txt format\n\n## Usage\n\n```golang\npackage main\n\nimport (\n        \"log\"\n        \"strings\"\n\n        \"github.com/mengzhuo/cookiestxt\"\n)\n\nfunc main() {\n        buf := strings.NewReader(`\n        # This example taken from http://www.cookiecentral.com/faq/#3.5\n        #HttpOnly_.netscape.com TRUE / FALSE 946684799 NETSCAPE_ID 100103\n        `)\n        cl, err := cookiestxt.Parse(buf)\n        log.Print(cl, err)\n}\n```\n\n```\n$ go run main.go \n\n[NETSCAPE_ID=100103; Path=/; Domain=netscape.com; Expires=Fri, 31 Dec 1999 23:59:59\n GMT; HttpOnly] \u003cnil\u003e\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmengzhuo%2Fcookiestxt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmengzhuo%2Fcookiestxt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmengzhuo%2Fcookiestxt/lists"}