A CLI tool for downloading media from Instagram accounts.
npm install -g ins-grabber
ins-grab download -c config.json
ins-grab download -u username
ins-grab download -u username -t image,video
ins-grab download -c ./config.json
ins-grab download --help
{
"accounts": [
{
"username": "example_account",
"lastFetch": null,
"maxItems": 100,
"mediaTypes": ["image", "video"]
}
],
"fetchInterval": "1d"
}
-c, --config
: Path to config file-u, --username
: Single account username-t, --types
: Media types to download (image,video)-m, --max-items
: Maximum items to download-p, --proxy
: Proxy URL (optional)--timeout
: Request timeout in milliseconds