Fixed important bug on rendering that was causing client request made too. Updated chromedp dependency
This commit is contained in:
1 parent
762854e511
commit
e07ef4d66d
3 files changed
+14
-13
No files matched your search
+2
-1
@@ -77,8 +77,9 @@ func NewClient(maxBodySize int64, charsetDetectDisabled bool, retryTimes int, re
|
||||
func (c *Client) DoRequest(req *Request) (resp *Response, err error) {
|
||||
if req.Rendered {
|
||||
resp, err = c.DoRequestChrome(req)
|
||||
} else {
|
||||
resp, err = c.DoRequestClient(req)
|
||||
}
|
||||
resp, err = c.DoRequestClient(req)
|
||||
|
||||
// Retry on Error
|
||||
if err != nil {
|
||||
|
||||
Reference in new issue
Block a user