mirror of
https://bitbucket.org/skobkin/point-tools-crawler.git
synced 2024-12-05 02:25:53 +00:00
Point Tools API method renamed.
This commit is contained in:
parent
6f412ee8c3
commit
734881b9d1
|
@ -56,7 +56,7 @@ func main() {
|
||||||
fmt.Println("Last uid", strconv.Itoa(page.Posts[len(page.Posts)-1].Uid))
|
fmt.Println("Last uid", strconv.Itoa(page.Posts[len(page.Posts)-1].Uid))
|
||||||
}
|
}
|
||||||
|
|
||||||
sendResp, sendErr := pointToolsClient.SendPage(page)
|
sendResp, sendErr := pointToolsClient.SendAllPage(page)
|
||||||
|
|
||||||
if sendErr != nil {
|
if sendErr != nil {
|
||||||
log.Fatal(sendErr)
|
log.Fatal(sendErr)
|
||||||
|
@ -95,7 +95,7 @@ func main() {
|
||||||
}
|
}
|
||||||
fmt.Printf(" -> %d posts\n", len(page.Posts))
|
fmt.Printf(" -> %d posts\n", len(page.Posts))
|
||||||
|
|
||||||
sendResp, sendErr = pointToolsClient.SendPage(page)
|
sendResp, sendErr = pointToolsClient.SendAllPage(page)
|
||||||
|
|
||||||
if sendErr != nil {
|
if sendErr != nil {
|
||||||
log.Fatal(sendErr)
|
log.Fatal(sendErr)
|
||||||
|
|
Loading…
Reference in a new issue