Exporting data all types support added.

This commit is contained in:
Musab Gültekin
2019-06-09 13:22:20 +03:00
parent d967555b62
commit 9263877339
4 changed files with 7 additions and 4 deletions

View File

@ -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")
},
})