View definition

func NewDocumentFromResponse

Defined in github.com/PuerkitoBio/goquery/type.go

Description

NewDocumentFromResponse is another Document constructor that takes an http response as argument. It loads the specified response's document, parses it, and stores the root Document node, ready to be manipulated. The response's body is closed on return.

NewDocumentFromResponse is referenced in 102 repositories

github.com/PuerkitoBio/goquery github.com/Mparaiso/gonews github.com/caledhwa/gongeal

...