View definition

(*Page).AddTargetRequestWithParams

Defined in github.com/hu17889/go_spider/core/common/page/page.go

Description

AddTargetRequest adds one new Request waitting for crawl. The respType is "html" or "json" or "jsonp" or "text". The urltag is name for marking url and distinguish different urls in PageProcesser and Pipeline. The method is POST or GET. The postdata is http body string. The header is http header. The cookies is http cookies.