Skip to main content

Search and download books from Anna's Archive with PDF copyright removal

Project description

BookDownloader

Search and download books from Anna's Archive, with optional PDF copyright text removal.

Quick Install

macOS (requires Python 3.10+):

curl -fsSL https://raw.githubusercontent.com/sudhirpatil/BookDownloader/main/install.sh | bash

Windows (requires Python 3.10+):
Download and double-click install.bat

Via pip/pipx (any platform):

pipx install bookdownloader
bookdownloader-setup   # one-time: installs Chromium (~130 MB)

Commands

Command Description
bookdownloader Search & download books
pdf-cleaner Remove copyright text from a PDF
bookdownloader-all Download + auto-clean in one step

Usage

Search and download a book

bookdownloader "atomic habits"
bookdownloader "atomic habits" -f epub        # filter by format
bookdownloader "atomic habits" -f pdf -a      # auto-select top result
bookdownloader "atomic habits" -o ~/Downloads # custom output directory

Remove copyright text from a PDF

pdf-cleaner /path/to/book.pdf
pdf-cleaner /path/to/book.pdf -o /path/to/cleaned.pdf
pdf-cleaner /path/to/book.pdf --dry-run -v    # preview what would be removed

Download and clean in one step

bookdownloader-all "atomic habits" -f pdf
bookdownloader-all "atomic habits" -f pdf -a -v

Options

-f, --format FMT    Format filter: epub, pdf, mobi, etc. (default: any)
-l, --lang LANG     Language filter (default: en)
-o, --output DIR    Output directory (default: ~/Books)
-a, --auto          Auto-select top result without prompts
-v, --verbose       Print each removed copyright item

Requirements

  • Python 3.10+
  • Google Chrome installed (for bypassing download page protection)

Development

git clone https://github.com/sudhirpatil/BookDownloader
cd BookDownloader
python -m venv .venv && source .venv/bin/activate
pip install -e .
bookdownloader-setup

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

bookdownloader-1.0.0.tar.gz (21.1 kB view details)

Uploaded Source

Built Distribution

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

bookdownloader-1.0.0-py3-none-any.whl (15.1 kB view details)

Uploaded Python 3

File details

Details for the file bookdownloader-1.0.0.tar.gz.

File metadata

  • Download URL: bookdownloader-1.0.0.tar.gz
  • Upload date:
  • Size: 21.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.3

File hashes

Hashes for bookdownloader-1.0.0.tar.gz
Algorithm Hash digest
SHA256 0baabb5d5f4c5626ae1d220a98a080a3f616ac9a0e421aad186d1c05a9667bbf
MD5 1e8bad7419ea984d1445a2c9facd3538
BLAKE2b-256 1c7d0bd546e476f75bb5331f2140642522faf93b401d6f7aed3ba4d5c25496f9

See more details on using hashes here.

File details

Details for the file bookdownloader-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: bookdownloader-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 15.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.3

File hashes

Hashes for bookdownloader-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8c5f12a21c71ed003cedcd3dd617e3458e5bf1eb727d7af2b88290189e4bd73f
MD5 2e2c451fa22758652d562d714842589b
BLAKE2b-256 f0e2714e0e9ce6306c17abd080f0357b1a1c5796ce88ab5fb194843cbb02958d

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