Search and download ebooks from jbiaojerry.github.io/ebook-treasure-chest (24,000+ books).
bash
# Search for books
python3 scripts/ebook-db.py search "武侠"
# Search with category filter
python3 scripts/ebook-db.py search "科幻" --category "科幻"
# Limit results
python3 scripts/ebook-db.py search "python" -l 10
# Update the database cache
python3 scripts/ebook-db.py update
# Show database stats
python3 scripts/ebook-db.py stats
# List all categories
python3 scripts/ebook-db.py categories
all-books.json from the website (~5MB)~/.cache/ebook-search/all-books.jsonEach book has:
title - Book titleauthor - Author namecategory - Genre/category (武侠, 科幻, 文学, etc.)link - Download URL (ctfile.com/城通网盘)formats - Available formats (epub, mobi, azw3)language - Language code (ZH, EN)search with user's query-l limit or refine keywordscategories first to find the right genreupdate if searches return stale results