http package renamed to client to reduce cunfusion

This commit is contained in:
Musab Gültekin
2019-06-29 14:18:31 +03:00
parent 1e109c555d
commit bd6466a5f2
8 changed files with 73 additions and 73 deletions

View File

@ -2,7 +2,7 @@ package geziyor
import (
"github.com/fpfeng/httpcache"
"github.com/geziyor/geziyor/http"
"github.com/geziyor/geziyor/client"
"github.com/geziyor/geziyor/metrics"
"time"
)
@ -20,7 +20,7 @@ type Options struct {
StartRequestsFunc func(g *Geziyor)
// ParseFunc is callback of StartURLs response.
ParseFunc func(g *Geziyor, r *http.Response)
ParseFunc func(g *Geziyor, r *client.Response)
// Extractors extracts items from pages
Extractors []Extractor