Skip to content

Commit

Permalink
clone to copy RedirectHandler
Browse files Browse the repository at this point in the history
  • Loading branch information
llonchj committed Mar 16, 2018
1 parent ca0264b commit d3c1817
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions colly.go
Original file line number Diff line number Diff line change
Expand Up @@ -985,6 +985,7 @@ func (c *Collector) Clone() *Collector {
backend: c.backend,
debugger: c.debugger,
Async: c.Async,
RedirectHandler: c.RedirectHandler,
errorCallbacks: make([]ErrorCallback, 0, 8),
htmlCallbacks: make([]*htmlCallbackContainer, 0, 8),
lock: c.lock,
Expand Down

0 comments on commit d3c1817

Please sign in to comment.