Skip to main content

Download ebooks from ebooks.paraninfo.es as PDF

Project description

paraninfodl

Download ebooks from ebooks.paraninfo.es as PDF. Chromium is installed automatically on first run.

Installation

pipx (recommended)

pipx install git+https://github.com/El-Mundos/paraninfodl

uv

uv tool install git+https://github.com/El-Mundos/paraninfodl

pip

pip install git+https://github.com/El-Mundos/paraninfodl

Arch Linux (AUR)

git clone https://aur.archlinux.org/paraninfodl.git
cd paraninfodl
makepkg -si

Or with an AUR helper:

yay -S paraninfodl
# or
paru -S paraninfodl

From source

git clone https://github.com/El-Mundos/paraninfodl
cd paraninfodl
pip install .

Usage

paraninfodl <url>

The first run opens a browser window for Google login. The session is saved to ~/.paraninfo_session.json and reused automatically from then on.

Options

Flag Description
-o PATH Output path for the PDF. Can be a file or a directory. Defaults to ./<book-slug>.pdf.
--quality N Re-encode images at JPEG quality N (1–95). Lower = smaller file. Omit for lossless.
--text-layer Add a selectable/searchable text layer to the PDF.
--keep-pages Keep the downloaded page images after building the PDF.

Examples

# Lossless PDF
paraninfodl https://ebooks.paraninfo.es/reader/my-book

# Compressed + searchable text
paraninfodl https://ebooks.paraninfo.es/reader/my-book --quality 75 --text-layer

# Keep page images for inspection
paraninfodl https://ebooks.paraninfo.es/reader/my-book --keep-pages

Notes

  • Only works with books your account has access to.
  • The saved session (~/.paraninfo_session.json) contains your cookies — don't share it.
  • Page images are cached in ~/.cache/paraninfodl/<book-slug>/ and deleted after the PDF is built (unless --keep-pages is set). Re-running resumes from where it left off regardless of which directory you run from.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

paraninfodl-1.1.0.tar.gz (8.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

paraninfodl-1.1.0-py3-none-any.whl (9.2 kB view details)

Uploaded Python 3

File details

Details for the file paraninfodl-1.1.0.tar.gz.

File metadata

  • Download URL: paraninfodl-1.1.0.tar.gz
  • Upload date:
  • Size: 8.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.5

File hashes

Hashes for paraninfodl-1.1.0.tar.gz
Algorithm Hash digest
SHA256 52590c318f05bf4e4a275c81901102f5f11d478f21e8c259aac830ccecb46a82
MD5 c42cebfd1ca0431c4c2d3d7f12775e2f
BLAKE2b-256 961a905b25fe34a6d09c5ae00d0b76a37a4716a7841a778fd66ed6c794882237

See more details on using hashes here.

File details

Details for the file paraninfodl-1.1.0-py3-none-any.whl.

File metadata

  • Download URL: paraninfodl-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 9.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.5

File hashes

Hashes for paraninfodl-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9a8b04e59f6b1588a3b1135f3917ccd26d131a558c97c31d3ee704c3f2d05c3c
MD5 8a833b90e1b22cc6e633be33c1da41d8
BLAKE2b-256 369b565bbcfcb237ed0e1f8dd51bcc91d8f719cb597ece0ab178a4d848cc4f86

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page