Crates.io | hncat |
lib.rs | hncat |
version | 0.1.3 |
source | src |
created_at | 2021-05-12 21:33:43.361759 |
updated_at | 2021-05-15 12:56:45.044531 |
description | Grab all Hacker News stores + comments, quickly. |
homepage | |
repository | https://github.com/orf/hncat |
max_upload_size | |
id | 396685 |
size | 50,935 |
Dump all comments, stories and polls from Hacker News fast.
brew install orf/brew/hncat
cargo install hncat
Running hncat
will begin to stream all items from the API to stdout in JSON.
$ hncat --help
hncat 0.1.0
Grab Hacker News items from the API in parallel.
USAGE:
hncat [OPTIONS]
FLAGS:
-h, --help Prints help information
-V, --version Prints version information
OPTIONS:
--concurrency <concurrency> Make this many concurrent requests [default: 200]
--end-date <end-date> Ignore all items created after this date. Supports relative durations like "1
hour" as well as absolute rfc3339 dates
--last <last> Fetch the last X items
--limit <limit> Limit the number of outputted rows to this
--since <since> Fetch all records since this time. Supports relative durations like "1 hour"
--start-date <start-date> Ignore all items created before this date. Supports relative durations like "1
hour" as well as absolute rfc3339 dates
--start-id <start-id> Fetch records with IDs higher than this
--stop-id <stop-id> Fetch records with IDs lower than this