htmlquery
cat
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
htmlquery
-
Dumb idea for testing output of a static site generator: use on-page DOM inspection instead of playwright?
I would suggest https://github.com/antchfx/htmlquery instead. It would basically give you access to the same sort of things you'd run in the browser for this case, only without a browser. At least as long as we're taking static HTML generation.
-
10分钟go crawler colly从入门到精通
htmlquery
- XPath package for HTML Query, No third-party library dependencies
cat
We haven't tracked posts mentioning cat yet.
Tracking mentions began in Dec 2020.
What are some alternatives?
GoQuery - A little like that j-thing, only in Go.
omniparser - omniparser: a native Golang ETL streaming parser and transform library for CSV, JSON, XML, EDI, text, etc.
jsonpath - JSONPath with dot notation generator for golang
bluemonday - bluemonday: a fast golang HTML sanitizer (inspired by the OWASP Java HTML Sanitizer) to scrub user generated content of XSS
goq - A declarative struct-tag-based HTML unmarshaling or scraping package for Go built on top of the goquery library
mxj - Decode / encode XML to/from map[string]interface{} (or JSON); extract values with dot-notation paths and wildcards. Replaces x2j and j2x packages.
commonregex - 🍫 A collection of common regular expressions for Go
html-to-markdown - ⚙️ Convert HTML to Markdown. Even works with entire websites and can be extended through rules.
blackfriday - Blackfriday: a markdown processor for Go
go-humanize - Go Humans! (formatters for units to human friendly sizes)
jsoncolor - Colorized JSON output for Go https://godoc.org/github.com/nwidger/jsoncolor