Skip to content

Commit

Permalink
Set default random delay to 0
Browse files Browse the repository at this point in the history
  • Loading branch information
kinoute committed Sep 14, 2024
1 parent e5ac849 commit 28d1e82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/settings.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ type Options struct {
Website string `arg:"-w, --website,env:WEBSITE" help:"Website to scrap movie stills on"`
ListScrapers bool `arg:"-l, --list,env:LIST" help:"List all available scrapers implemented" default:"false"`
Parallel int `arg:"-p, --parallel,env:PARALLEL" help:"Limit the maximum parallelism" default:"2"`
RandomDelay time.Duration `arg:"-r, --delay,env:RANDOM_DELAY" help:"Add some random delay between requests" default:"1s"`
RandomDelay time.Duration `arg:"-r, --delay,env:RANDOM_DELAY" help:"Add some random delay between requests" default:"0s"`
Async bool `arg:"-a, --async,env:ASYNC" help:"Enable asynchronus running jobs" default:"false"`
TimeOut time.Duration `arg:"-t, --timeout,env:TIMEOUT" help:"Set the default request timeout for the scraper" default:"15s"`
Proxy string `arg:"-x, --proxy,env:PROXY" help:"The proxy URL to use for scraping"`
Expand Down

0 comments on commit 28d1e82

Please sign in to comment.