Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

goreadly

goreadly is Go package is to makes Web pages more readable.

GoDoc

Installation

go get github.com/antchfx/goreadly

Example

package main

import (
	"fmt"
	"net/http"

	"github.com/antchfx/goreadly"
)

func main() {
	resp, _ := http.Get("https://www.engadget.com/2017/07/10/google-highlights-pirate-sites/")
	doc, err := goreadly.ParseResponse(resp)
	if err != nil {
		panic(err)
	}
	fmt.Println(doc.Title)
	fmt.Println(doc.Body)
}

About

goreadly, makes web pages more readable.

Resources

Stars

9 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages