#discord #bot #scraper #json-format #cli #discordscraper

bin+lib discord_rust_scraper

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.

2 stable releases

new 1.0.2 Mar 10, 2025

#2414 in Command line utilities

MIT license

24KB
474 lines

DiscordRustScraper

Rust-Scraper-Bannerwide.png

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