Skip to content
forked from badoux/goscraper

Golang pkg to quickly return a preview of a webpage (title/description/images)

License

Notifications You must be signed in to change notification settings

farmx/goscraper

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

goscraper

Golang package to quickly return the webpage title

Usage

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)

License

Goscraper is licensed under the MIT License.

About

Golang pkg to quickly return a preview of a webpage (title/description/images)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 100.0%