Versions in this module Expand all Collapse all v0 v0.2.1 Jul 25, 2026 v0.2.0 Jul 25, 2026 Changes in this version + var BoxRow = Sel + var DependencyLink = Sel + var DependencyManifest = Sel + var DependencyName = Sel + var DependencyRelation = Sel + var DependencyRow = Sel + var DependencyVersion = Sel + var DependentForks = Sel + var DependentNext = Sel + var DependentRepo = Sel + var DependentRow = Sel + var DependentStars = Sel + var DependentUser = Sel + var DiscussionAnswerLink = Sel + var DiscussionAuthor = Sel + var DiscussionBody = Sel + var DiscussionCategory = Sel + var DiscussionComment = Sel + var DiscussionLabel = Sel + var DiscussionNumber = Sel + var DiscussionParticipant = Sel + var DiscussionSidebar = Sel + var DiscussionState = Sel + var DiscussionTitle = Sel + var DiscussionUpvote = Sel + var GistBlobWrap = Sel + var GistFileBox = Sel + var GistFileHeader = Sel + var HovercardBody = Sel + var HovercardLabel = Sel + var HovercardRef = Sel + var HovercardState = Sel + var HovercardTitle = Sel + var LanguageBarItem = Sel + var LanguageBarName = Sel + var LicenseLink = Sel + var MarkdownBody = Sel + var NextPage = Sel + var OrgAvatarImg = Sel + var OrgEmailRow = Sel + var OrgFollowers = Sel + var OrgHead = Sel + var OrgHeading = Sel + var OrgLocationRow = Sel + var OrgMemberLink = Sel + var OrgWebsite = Sel + var Pagination = Sel + var ProfileAchieve = Sel + var ProfileAchievement = Sel + var ProfileAnyLink = Sel + var ProfileBio = Sel + var ProfileBoldCount = Sel + var ProfileDetail = Sel + var ProfileDetailURL = Sel + var ProfileFollowers = Sel + var ProfileFollowing = Sel + var ProfileFullName = Sel + var ProfileNames = Sel + var ProfileNickname = Sel + var ProfileOrgAvatar = Sel + var ProfilePinnedItem = Sel + var ProfilePinnedList = Sel + var ProfileReadme = Sel + var ProfileStars = Sel + var ProfileTabCounter = Sel + var ProfileTabItem = Sel + var ProfileUserLink = Sel + var ProfileVCardLabel = Sel + var ProfileVCardList = Sel + var ProfileVCardOrg = Sel + var RelTimeEl = Sel + var ReleaseAssetLink = Sel + var ReleaseAssetRow = Sel + var ReleaseBox = Sel + var ReleaseLabel = Sel + var ReleaseMarkdown = Sel + var ReleaseTagIcon = Sel + var RepoForksLink = Sel + var RepoLabel = Sel + var RepoLangColor = Sel + var RepoListDesc = Sel + var RepoListItem = Sel + var RepoListLang = Sel + var RepoNameLink = Sel + var RepoStarsLink = Sel + var RepoTopicTag = Sel + var TopicHeading = Sel + var TopicLogo = Sel + var TopicMarkdown = Sel + var TopicRepoRow = Sel + var TopicShortDesc = Sel + var TopicWikipedia = Sel + var TrendingBuiltBy = Sel + var TrendingDesc = Sel + var TrendingDevName = Sel + var TrendingDevRepo = Sel + var TrendingDevRow = Sel + var TrendingHeading = Sel + var TrendingPeriod = Sel + var TrendingRow = Sel + var TrendingSponsors = Sel + func Attr(n *html.Node, name string) string + func BlockText(n *html.Node) string + func CountIn(s string) (int, string, bool) + func Find(root *html.Node, s Sel) *html.Node + func FindAll(root *html.Node, s Sel) []*html.Node + func FragmentText(s string) string + func HasClass(n *html.Node, want string) bool + func OuterHTML(n *html.Node) string + func ParseCompactCount(s string) (n int, display string, ok bool) + func RelTime(n *html.Node) string + func Text(n *html.Node) string + func Walk(n *html.Node, fn func(*html.Node) bool) + type Page struct + Bytes int + Canonical string + Fragments []string + HTML []byte + LinkedData []json.RawMessage + Meta map[string]string + Microdata map[string][]string + Partials map[string]json.RawMessage + Payload map[string]json.RawMessage + Plane Plane + Queries map[string]json.RawMessage + StructuredData json.RawMessage + Title string + URL string + func Extract(url string, doc []byte) *Page + func (p *Page) Doc() *html.Node + func (p *Page) FirstQuery() (string, json.RawMessage, bool) + func (p *Page) MetaContent(name string) string + func (p *Page) Prop(name string) string + func (p *Page) Props(name string) []string + func (p *Page) Query(name string) (json.RawMessage, bool) + func (p *Page) Route(name string) (json.RawMessage, bool) + type Plane string + const PlaneRails + const PlaneReact + type Sel struct + Attr string + AttrContains string + AttrPrefix string + AttrSuffix string + AttrValue string + Class string + HasDescendantClass string + ID string + Tag string + func (s Sel) Match(n *html.Node) bool