2 stable releases
new 1.0.2 | Mar 10, 2025 |
---|
#2414 in Command line utilities
24KB
474 lines
DiscordRustScraper
Description
DiscordRustScraper is a powerful Discord data scraper built in Rust, designed to extract and format channel data for further analysis. It efficiently scrapes message history from specified channels and outputs it in a clean JSON format for easy processing.
Commands & Usage
Scrape
- Usage :
cargo run -- scrape --bot_token <BOT_TOKEN> --channel_ids [CHANNEL_IDS]
- Example :
cargo run -- scrape --bot_token "your_bot_token" --channel_ids 659069446438125570 806378740917469234
convert-to-json
- Usage:
cargo run -- convert-to-json <INPUT_FILE>
- Example:
cargo run -- convert-to-json on-topic.jsonl
Dependencies
~13–25MB
~346K SLoC