Golang package to quickly return the webpage title
func main() {
s, err := goscraper.Scrape("https://www.w3.org/", 5)
if err != nil {
fmt.Println(err)
return
}
fmt.Printf("Title : %s\n", s.Preview.Title)
}
output:
Title : World Wide Web Consortium (W3C)
Goscraper is licensed under the MIT License.