MCPcopy
hub / github.com/hu17889/go_spider / SetBodyStr

Method SetBodyStr

core/common/page/page.go:161–164  ·  view source on GitHub ↗

SetBodyStr saves plain string crawled in Page.

(body string)

Source from the content-addressed store, hash-verified

159
160// SetBodyStr saves plain string crawled in Page.
161func (this *Page) SetBodyStr(body string) *Page {
162 this.body = body
163 return this
164}
165
166// GetBodyStr returns plain string crawled.
167func (this *Page) GetBodyStr() string {

Callers 3

downloadHtmlMethod · 0.80
downloadJsonMethod · 0.80
downloadTextMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected