Skip to content

dovid-moshe-crow/fliphtml5-downloader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

FlipHTML5 Downloader

A Python tool to download FlipHTML5 books as images and convert them to PDF.

Disclaimer

This tool is for educational purposes only. Respect copyright laws and terms of service. Only download content you have permission to access and archive.

Requirements

  • Python 3.7+
  • Playwright
  • img2pdf
  • Pillow

Installation

pip install -r requirements.txt
playwright install chromium

Usage

python downloader.py <book_id> [options]

Book ID: Extract from the URL https://online.fliphtml5.com/{book_id}/

Example:

python downloader.py zbqjj/vduu

Options

  • -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

Examples

# 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

How It Works

  1. Navigates to each page using direct URL navigation (#p=1, #p=2, etc.)
  2. Captures images via network monitoring
  3. Applies RTL page order fix for Hebrew/Arabic books (keeps first page, swaps pairs)
  4. Converts images to PDF

Output

  • Images saved as 0001.webp, 0002.webp, etc. in output folder
  • PDF created as <output-folder>.pdf

Troubleshooting

Missing dependencies:

pip install playwright img2pdf pillow
playwright install chromium

Pages not loading: Increase delay with --delay 1.5

License

MIT License

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages