MCPcopy Index your code
hub / github.com/bytewife/substack_scraper

github.com/bytewife/substack_scraper @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
7 symbols 11 edges 1 files 2 documented · 29%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Substack Scraper

This scrapes Substack blogs for all their post content and outputs it into raw text files. This project was intended to create neural network training data.

NOTE: This project currently cannot get around subscriber-only Substack articles; it will output the truncated article text along with the subscriber message.

Usage

git clone https://github.com/ivyraine/substack_scraper
cargo run -- -w <BLOGS>

Example:

## Example:
cargo run -- -w "https://substack.thewebscraping.club/ https://etiennefd.substack.com/"

For debug messages, set envvar RUST_LOG=debug

Contributing

Feel free to open an issue or PR if you have any suggestions or improvements, but I cannot guarantee that I'll get to them! The project is small and has some documentation, so I would encourage putting up a PR if you have a feature you want to add.

Core symbols most depended-on inside this repo

scrape
called by 1
src/main.rs
get_post_content
called by 1
src/main.rs
cleanup_content
called by 1
src/main.rs
get_post_urls
called by 1
src/main.rs
main
called by 0
src/main.rs

Shape

Function 5
Class 2

Languages

Rust100%

Modules by API surface

src/main.rs7 symbols

For agents

$ claude mcp add substack_scraper \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact