{"id":13693645,"url":"https://github.com/go-shiori/dom","last_synced_at":"2025-04-25T14:32:01.128Z","repository":{"id":54471691,"uuid":"211743386","full_name":"go-shiori/dom","owner":"go-shiori","description":"Package for access and manipulate DOM element in HTML file","archived":false,"fork":false,"pushed_at":"2023-10-11T22:27:15.000Z","size":28,"stargazers_count":39,"open_issues_count":1,"forks_count":6,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-03T22:41:35.841Z","etag":null,"topics":["dom","go","golang","hmtl"],"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/go-shiori.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":"2019-09-30T00:15:16.000Z","updated_at":"2025-03-04T03:00:05.000Z","dependencies_parsed_at":"2024-06-18T17:00:28.311Z","dependency_job_id":"7c74af33-ed29-4b03-ae87-7c949980ba22","html_url":"https://github.com/go-shiori/dom","commit_stats":{"total_commits":19,"total_committers":1,"mean_commits":19.0,"dds":0.0,"last_synced_commit":"4e4722cd0d65a7bd3bfbcee469248d67ec76ca7a"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/go-shiori%2Fdom","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/go-shiori%2Fdom/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/go-shiori%2Fdom/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/go-shiori%2Fdom/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/go-shiori","download_url":"https://codeload.github.com/go-shiori/dom/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250834106,"owners_count":21494911,"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","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":["dom","go","golang","hmtl"],"created_at":"2024-08-02T17:01:14.653Z","updated_at":"2025-04-25T14:32:00.220Z","avatar_url":"https://github.com/go-shiori.png","language":"Go","funding_links":["https://www.paypal.me/RadhiFadlillah","https://ko-fi.com/radhifadlillah"],"categories":["开源类库","Open source library"],"sub_categories":["文本处理","Word Processing"],"readme":"DOM\n===\n\n[![GoDoc](https://godoc.org/github.com/go-shiori/dom?status.png)](https://godoc.org/github.com/go-shiori/dom)\n[![Travis CI](https://travis-ci.org/go-shiori/dom.svg?branch=master)](https://travis-ci.org/go-shiori/dom)\n[![Go Report Card](https://goreportcard.com/badge/github.com/go-shiori/dom)](https://goreportcard.com/report/github.com/go-shiori/dom)\n[![Donate PayPal](https://img.shields.io/static/v1?label=donate\u0026message=PayPal\u0026color=00457C\u0026logo=paypal)](https://www.paypal.me/RadhiFadlillah)\n[![Donate Ko-fi](https://img.shields.io/static/v1?label=donate\u0026message=Ko-fi\u0026color=F16061\u0026logo=ko-fi)](https://ko-fi.com/radhifadlillah)\n\nDOM is a Go package for manipulating [HTML](https://godoc.org/golang.org/x/net/html) node. The methods that exist in this package has similar name and purpose as the DOM manipulation methods in JS, which make it useful when porting code from JS to Go. Currently it used in [`warc`](https://github.com/go-shiori/warc) and [`go-readability`](https://github.com/go-shiori/go-readability).\n\n## Installation\n\nTo install this package, just run `go get` :\n\n```\ngo get -u -v github.com/go-shiori/dom\n```\n\n## Licenses\n\nDOM is distributed under [MIT license](https://choosealicense.com/licenses/mit/), which means you can use and modify it however you want. However, if you make an enhancement for it, if possible, please send a pull request. If you like this project, please consider donating to me either via [PayPal](https://www.paypal.me/RadhiFadlillah) or [Ko-Fi](https://ko-fi.com/radhifadlillah).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgo-shiori%2Fdom","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgo-shiori%2Fdom","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgo-shiori%2Fdom/lists"}