Skip to content

Commit

Permalink
added comment
Browse files Browse the repository at this point in the history
  • Loading branch information
jakopako committed Apr 20, 2024
1 parent 941617d commit d27f68e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scraper/scraper.go
Original file line number Diff line number Diff line change
Expand Up @@ -534,6 +534,7 @@ func (c *Scraper) fetchToDoc(url string, opts fetch.FetchOpts) (*goquery.Documen
return nil, err
}

// in debug mode we want to write all the html's to files
if c.Debug {
bs := make([]byte, 8)
_, err := rand.Read(bs)
Expand Down

0 comments on commit d27f68e

Please sign in to comment.