3 ms·
> parse through a large amount of HTML files to extract relevant information. Any idea if Go has an equivalent to Pythons Beautiful Soup? :) Back when I used
by justinclift 8y ago
> parse through a large amount of HTML files to extract relevant information.
Any idea if Go has an equivalent to Pythons Beautiful Soup? :)
Back when I used to do Python development, Beautiful Soup was awesome for extracting info from possibly-munged HTML. Haven't yet found a good equivalent for Go. :/
- theshrike79 8y agoI haven't found anything that matches Beautiful Soup's ability to parse completely borked HTML. For HTML that's at least mostly valid, I like goquery: https://github.com/PuerkitoBio/goquery https://github.com/PuerkitoBio/goquery