/install book-fetch
book-fetch
Search Anna's Archive, download epub/pdf, upload to mega:/Books/.
Setup (one-time)
Anna's Archive is DNS-blocked on the VPS. The /etc/hosts override is already in place:
186.2.165.77 annas-archive.li
MEGA is configured via rclone (rclone ls mega:/ to verify).
Usage
cd ~/clawd
.venv-books/bin/python3 skills/book-fetch/scripts/book_fetch.py "TITLE AUTHOR"
Options:
--format pdf— prefer PDF over epub--dry-run— search only, no download--pick -1— interactive result picker--pick N— pick result index N (default: 0)
Download Pipeline
- Search
annas-archive.li→ parsedata-contentattributes for title/author/md5 - Fetch
annas-archive.li/md5/\x3Cmd5>→ findlibgen.li/ads.phplink - Fetch
libgen.li/ads.php→ extractget.php?md5=...&key=...direct link - Download file with progress bar
- Upload via
rclone copy ... mega:/Books/
Fallback: If no libgen.li mirror exists (newer books), tries Anna's Archive fast/slow download links.
Notes
- New books (2023+) may lack libgen mirrors; fast_download requires AA membership; slow_download is rate-limited
- venv:
~/clawd/.venv-books/(requests, beautifulsoup4, lxml) - Files cached at
/tmp/books/after download - GitHub: \x3Chttps://github.com/zerone0x/book-fetch>
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install book-fetch - After installation, invoke the skill by name or use
/book-fetch - Provide required inputs per the skill's parameter spec and get structured output
What is Book Fetch?
Download ebooks (epub/pdf) from Anna's Archive and upload them to MEGA automatically. Use when the user asks to download a book, find an ebook, search for a... It is an AI Agent Skill for Claude Code / OpenClaw, with 612 downloads so far.
How do I install Book Fetch?
Run "/install book-fetch" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Book Fetch free?
Yes, Book Fetch is completely free (open-source). You can download, install and use it at no cost.
Which platforms does Book Fetch support?
Book Fetch is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Book Fetch?
It is built and maintained by zerone0x (@zerone0x); the current version is v1.0.0.