Exporting data all types support added.
This commit is contained in:
@ -22,7 +22,8 @@ func TestGeziyor_IP(t *testing.T) {
|
||||
StartURLs: []string{"http://api.ipify.org"},
|
||||
Cache: httpcache.NewMemoryCache(),
|
||||
ParseFunc: func(r *geziyor.Response) {
|
||||
fmt.Println(string(r.Body))
|
||||
fmt.Println(r.Doc.Text())
|
||||
r.Exports <- r.Doc.Text()
|
||||
r.Geziyor.Get("http://api.ipify.org")
|
||||
},
|
||||
})
|
||||
|
Reference in New Issue
Block a user