package title
import "zgo.at/goatcounter/v2/title"
Package title fetches a HTML page's <title>
Index ¶
Functions ¶
func Get ¶
Get the text contents of a page's <title> element.
Note this won't run any JavaScript; so if a title is changed in JS based on the URL fragment then the result will be wrong.
Source Files ¶
title.go
- Version
- v2.2.3
- Published
- Feb 16, 2022
- Platform
- darwin/amd64
- Imports
- 6 packages
- Last checked
- 4 hours ago –
Tools for package owners.