| name | russian-books-downloader |
| description | Search for and download Russian-language books from free online libraries and book repositories. Use when the user wants to find, download, or search for books in Russian (художественная, техническая, научная литература на русском языке). Includes scripts for downloading from sites like pdfdrive.com, openlibrary.org, Flibusta, and others. |
Russian Books Downloader
Search and download Russian-language books from free online resources.
Workflow
- Ask the user what book they need — title, author, or topic
- Search across available sources (see references/sources.md)
- Try each source in priority order until found
- Download using the appropriate script or method
- Save to workspace and notify the user
Search Priority Order
- Flibusta (rus) — largest Russian book library. Mirror:
flibusta.is or use Tor
- pdfdrive.com — many Russian books, harder search
- openlibrary.org — some Russian books, borrow/download
- pdfcoffee.com / pdfroom.com — user-uploaded, check manually
- Литмир / lib.ru / ruslit.com — Russian-language sites
Available Scripts
scripts/search_pdfdrive.py — search and download from pdfdrive.com
scripts/search_flibusta.py — search Flibusta via its API/mirrors
When scripts fail or don't exist yet, fall back to:
- Manual web search + curl download for the specific book
- Sourcing from user-provided links
Notes
- Russian books are often in FB2, EPUB, or PDF format
- FB2 is the standard format for Russian ebooks
- Convert FB2 to EPUB/MOBI if needed using Calibre
- Some sites (Flibusta) require Tor for access in some regions
Sources
1. Flibusta
- Поиск:
https://flibusta.is/booksearch?chs=0&chp=1&search=<запрос>
- API: OPDS-каталог
https://flibusta.is/opds/
- Прямая ссылка:
https://flibusta.is/b/<book_id>/download
- Tor:
http://flibustahezeous3.onion
2. PDF Drive
- Поиск:
https://www.pdfdrive.com/search?q=<запрос>
- Скачивание:
https://www.pdfdrive.com/download.pdf?id=<ID>&h=<HASH>
3. Open Library
- Поиск:
https://openlibrary.org/search?q=<запрос>&language=rus
4. Литмир
- URL:
https://www.litmir.me
5. Прочие: pdfcoffee.com, pdfroom.com, lib.ru, ruslit.com
Format Conversion (FB2 → EPUB/PDF/TXT)
ebook-convert book.fb2 book.epub
python3 -c "
from xml.etree import ElementTree as ET
tree = ET.parse('book.fb2')
root = tree.getroot()
ns = {'fb': 'http://www.gribuser.ru/xml/fictionbook/2.0'}
for p in root.findall('.//fb:p', ns):
print(''.join(p.itertext()))
" > book.txt