Download Books Bundle purchases from Humble Bundle via the command line.
Project description
humble-books-dl
A command-line tool for downloading Books Bundle purchases from Humble Bundle.
Installation
pip install humble-books-dl
Usage
Find your order KEY in the Humble Bundle purchase confirmation email or in the URL when viewing a bundle on humblebundle.com.
List all items in a bundle:
humble-books-dl list <order_key>
Download a bundle:
humble-books-dl download <order_key>
Download a single item by number:
humble-books-dl download <order_key> --item 3
By default, files are saved to ~/HumbleBundle/<bundle name>/ and formats are tried in the order epub -> pdf -> mobi. Files that already exist on disk are skipped.
All download options:
| Flag | Description |
|---|---|
--item N |
Download only item N (as shown by the list command) |
--formats |
Preferred formats in priority order. Falls back to all available if none match. |
--output |
Download directory (default: ~/HumbleBundle) |
--no-progress |
Disable progress bars |
Python API
from humble_books_dl import HBPurchase
purchase = HBPurchase.from_order_key("ORDERKEY")
purchase.list_products()
purchase.download_all("~/HumbleBundle", formats=["epub", "pdf"])
purchase.download_product(3, "~/HumbleBundle", formats=["epub", "pdf"])
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file humble_books_dl-0.1.0.tar.gz.
File metadata
- Download URL: humble_books_dl-0.1.0.tar.gz
- Upload date:
- Size: 6.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7abd4d4f813dbb3326698557dfa908f8cb9e6589cc963df9e2040b5724f29878
|
|
| MD5 |
c75d3940eb9f5820e617513d4af3a739
|
|
| BLAKE2b-256 |
3a29f0306387c5d5ae98e0419ccb4b0665fda686e25755e27b1d3d1837d54392
|
File details
Details for the file humble_books_dl-0.1.0-py3-none-any.whl.
File metadata
- Download URL: humble_books_dl-0.1.0-py3-none-any.whl
- Upload date:
- Size: 7.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4ee963c2c050732056779a336b30c241a35b946bdfb0b173640cb1682d6f0036
|
|
| MD5 |
ec96596801a35988e646da8116213d46
|
|
| BLAKE2b-256 |
aeb87b52d1e3aabcc2483fed57834ef9dba15659553a4d32ddf1a3968fc17d9b
|