A Python tool to download FlipHTML5 books as images and convert them to PDF.
This tool is for educational purposes only. Respect copyright laws and terms of service. Only download content you have permission to access and archive.
- Python 3.7+
- Playwright
- img2pdf
- Pillow
pip install -r requirements.txt
playwright install chromiumpython downloader.py <book_id> [options]Book ID: Extract from the URL https://online.fliphtml5.com/{book_id}/
Example:
python downloader.py zbqjj/vduu-o, --output FOLDER- Output folder name (default: book-id)-p, --pages N- Total pages (auto-detect if 0)--delay SECONDS- Delay between pages (default: 0.8)--no-pdf- Skip PDF creation, only download images
# Custom output folder
python downloader.py zbqjj/vduu -o my-book
# Download first 50 pages
python downloader.py zbqjj/vduu -p 50
# Images only, no PDF
python downloader.py zbqjj/vduu --no-pdf
# Faster download
python downloader.py zbqjj/vduu --delay 0.5- Navigates to each page using direct URL navigation (
#p=1,#p=2, etc.) - Captures images via network monitoring
- Applies RTL page order fix for Hebrew/Arabic books (keeps first page, swaps pairs)
- Converts images to PDF
- Images saved as
0001.webp,0002.webp, etc. in output folder - PDF created as
<output-folder>.pdf
Missing dependencies:
pip install playwright img2pdf pillow
playwright install chromiumPages not loading: Increase delay with --delay 1.5
MIT License