diff options
| author | Philipp Tanlak <philipp.tanlak@gmail.com> | 2023-12-04 17:35:06 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-12-04 17:35:06 +0100 |
| commit | 8c68e0ed414bfb323d6e94db55c95db13797ef8e (patch) | |
| tree | 379fd505aec7e54d9f7dcc7b7d6ae5264f4b956a /cmd/run.go | |
| parent | 807b9a1693645270609d4d795aa2b8eeacaae40e (diff) | |
Make output file and format configurable (#24)
Diffstat (limited to 'cmd/run.go')
| -rw-r--r-- | cmd/run.go | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -53,5 +53,11 @@ Examples: # Follow paginated links. $ flyscrape run example.js --depth 5 --follow ".next-button > a" + + # Set the output format to ndjson. + $ flyscrape run example.js --output.format ndjson + + # Write the output to a file. + $ flyscrape run example.js --output.file results.json `[1:]) } |