Description

ByTag returns a Matcher which matches all nodes of the provided tag type.

root, err := html.Parse(resp.Body)
if err != nil {
    // handle error
}
title, ok := scrape.Find(root, scrape.ByTag(atom.Title))

ByTag is referenced in 11 repositories

github.com/belak/go-seabird github.com/belak/seabird-plugins github.com/unixpickle/weakai

...