diff options
| author | Philipp Tanlak <philipp.tanlak@gmail.com> | 2023-08-17 20:31:44 +0200 |
|---|---|---|
| committer | Philipp Tanlak <philipp.tanlak@gmail.com> | 2023-08-17 20:31:44 +0200 |
| commit | 1a9af21755a78bb8689bd1f3830239f81dadc324 (patch) | |
| tree | 9ea058f18efbb7ab799eafa8b2c772f2fb37571c /cmd | |
| parent | 8f55226a53682f9f4a0b63778b3338451605a6c3 (diff) | |
refactor
Diffstat (limited to 'cmd')
| -rw-r--r-- | cmd/flyscrape/run.go | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/cmd/flyscrape/run.go b/cmd/flyscrape/run.go index 9a2a7bb..2d76a35 100644 --- a/cmd/flyscrape/run.go +++ b/cmd/flyscrape/run.go @@ -14,7 +14,6 @@ type RunCommand struct{} func (c *RunCommand) Run(args []string) error { fs := flag.NewFlagSet("flyscrape-run", flag.ContinueOnError) - concurrent := fs.Int("concurrent", 0, "concurrency") noPrettyPrint := fs.Bool("no-pretty-print", false, "no-pretty-print") fs.Usage = c.Usage @@ -40,7 +39,6 @@ func (c *RunCommand) Run(args []string) error { svc := flyscrape.Scraper{ ScrapeOptions: opts, ScrapeFunc: scrape, - Concurrency: *concurrent, } count := 0 @@ -76,9 +74,6 @@ Usage: Arguments: - -concurrent NUM - Determines the number of concurrent requests. - -no-pretty-print Disables pretty printing of scrape results. |