set csrf token to flow
This commit is contained in:
parent
9b34acb926
commit
033e8609fb
1 changed files with 1 additions and 0 deletions
1
auth.go
1
auth.go
|
|
@ -102,6 +102,7 @@ func (s *Scraper) getFlow(data map[string]interface{}) (*flow, error) {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
req.Header = headers
|
req.Header = headers
|
||||||
|
s.setCSRFToken(req)
|
||||||
|
|
||||||
resp, err := s.client.Do(req)
|
resp, err := s.client.Do(req)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue