MangaBat Scraper
/install manga-scraper
MangaBat Scraper
Download manga chapters directly from MangaBat's CDN without hitting Cloudflare protection.
How It Works
- MangaBat uses Cloudflare on the web frontend (blocks bots)
- But images are served from
img-r1.2xstorage.com— CDN is unprotected - Script extracts manga slug from URL, then scans CDN for page numbers
- Pattern:
https://img-r1.2xstorage.com/[slug]/[chapter]/[page].webp
Script Location
Locate the script in your skills directory:
find ~ -name manga_scraper.py 2>/dev/null
Setup Check
python3 /path/to/manga_scraper.py --help
Usage
Single chapter:
python3 manga_scraper.py "https://www.mangabats.com/manga/[manga-slug]/chapter-5"
Chapter range (1-10):
python3 manga_scraper.py "https://www.mangabats.com/manga/[manga-slug]" \
--start 1 --end 10 --workers 4
All chapters (auto-detect last):
python3 manga_scraper.py "https://www.mangabats.com/manga/[manga-slug]" \
--all --workers 3
Custom output folder:
python3 manga_scraper.py "URL" --output ~/Manga/MyManga
Flags
| Flag | Description |
|---|---|
--all |
Download all chapters (manga URL, auto-detects last by 404 scan) |
--start N |
Start from chapter N |
--end N |
End at chapter N |
--workers N |
Concurrent downloads, default 3 (be respectful to CDN) |
--output -o |
Output directory, default ./downloads/ |
Workflow
- Extract manga slug from URL automatically
- Scan CDN pages (0→n) until 3 consecutive 404 → determines page count
- Download all pages with resume support (skip existing)
- Save to
chapter_NNN/page_000.webpnaming convention
Notes
- Cloudflare blocks the mangabats.com domain directly — always use CDN method
- Use
--workers 2or--workers 3for batch downloads (CDN is polite) - Output goes to
./downloads/by default, or--outputif specified - Image format is always
.webp - If Cloudflare ever starts protecting the CDN too, this script will fail — switch to cloudscraper browser emulation
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install manga-scraper - After installation, invoke the skill by name or use
/manga-scraper - Provide required inputs per the skill's parameter spec and get structured output
What is MangaBat Scraper?
Download manga chapters from MangaBat (mangabats.com) directly via CDN — bypasses Cloudflare. Triggered when user asks to download/scrape manga chapters or m... It is an AI Agent Skill for Claude Code / OpenClaw, with 46 downloads so far.
How do I install MangaBat Scraper?
Run "/install manga-scraper" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is MangaBat Scraper free?
Yes, MangaBat Scraper is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does MangaBat Scraper support?
MangaBat Scraper is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created MangaBat Scraper?
It is built and maintained by rizki suluh adi (@jrrqd); the current version is v1.0.1.