Archived
1
0
Fork 0

Configure headless browser address

Add `browser_address` configuration setting to define where is the headless
browser instead of relying on the default value.

Signed-off-by: Julien Riou <julien@riou.xyz>
This commit is contained in:
Julien Riou 2021-03-01 13:11:58 +01:00
parent 6f002f007d
commit 45025def65
No known key found for this signature in database
GPG key ID: FF42D23B580C89F7
5 changed files with 11 additions and 9 deletions

View file

@ -100,7 +100,7 @@ func main() {
}
// create parser
parser, err := NewParser(config.IncludeRegex, config.ExcludeRegex)
parser, err := NewParser(config.BrowserAddress, config.IncludeRegex, config.ExcludeRegex)
if err != nil {
log.Fatalf("could not create parser: %s", err)
}