{"repo":"nfx/go-htmltable","free":true,"listed":false,"github":"https://github.com/nfx/go-htmltable","clone":"git clone https://github.com/nfx/go-htmltable.git","description":"Structured HTML table data extraction from URLs in Go that has almost no external dependencies","language":"Go","stars":123,"topics":["go","data-extraction","go-generics","html"],"license":"MIT","category":"scrapers-browser-automation","readme_excerpt":"HTML table data extractor for Go htmltable enables structured data extraction from HTML tables and URLs and requires almost no external dependencies. Tested with Go 1.18.x and 1.19.x. Installation Usage You can retrieve a slice of header -annotated types using the NewSlice contructors: An error would be thrown if there's no matching page with the specified columns: And you can use more low-level API to work with extracted data: Complex tables with row and col spans are natively supported as well. You can annotate string , int , and bool fields. Any bool field value is true if it is equal in lowercase to one of yes , y , true , t . And the last note: you're encouraged to plug your own structured logger: Inspiration This library aims to be something like pandas.read html or table extract Rust crate, but more idiomatic for Go.","default_branch":null,"files":null,"tree":[],"storefront":"/r/nfx","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/nfx/go-htmltable/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}