Skip to main content

Humble Bundle Downloader

PyPI PyPI

Download all of your content from your Humble Bundle Library!

The first time this runs it may take a while because it will download everything. After that it will only download the content that has been updated or is missing.

Features

  • support for Humble Trove (--trove flag)
  • downloads new and updated content from your Humble Bundle Library on each run (only check for updates if using --update)
  • cli command for easy use (downloading will also work on a headless system)
  • works for SSO and 2FA accounts
  • optional progress bar for each item downloaded (--progress flag)
  • optional filter by file types using an include or exclude list (--include/--exclude flag)
  • optional filter by platform types like video, ebook, etc... (--platform flag)

Install

Using PIP

pip install humblebundle-downloader

Using docker

Remember to mount your download directory in the container using dockers -v argument. docker run ghcr.io/xtream1101/humblebundle-downloader -h

Instructions

1. Getting cookies

First thing to do is get your account cookies. This can be done by getting a browser extension that lets you see or export your cookies.

  • Method 1 (recommended)

    • Get the value of the cookie called _simpleauth_sess and pass that value using -s 'COOKIE_VALUE'
    • Note: The quotes in the cookie value are part of the value, you might need to wrap the entire value (including double quotes) in single quotes. Some suggestions for common issues can be found in issue #50
  • Method 2

    • Export the cookies in the Netscape format using an extension.
      If your exported cookie file is not working, it may be a formatting issue. This can be fixed by running the command curl -b cookies.orig.txt --cookie-jar cookies.txt http://bogus

2. Downloading your library

Use the following command to download your Humble Bundle Library:
hbd --cookie-file cookies.txt --library-path "Downloaded Library" --progress
If using the docker image, exclude the hbd part of the command

This directory structure will be used:
Downloaded Library/Purchase Name/Item Name/downloaded_file.ext

Notes

  • Inside your library folder a file named .cache.json is saved and keeps track of the files that have been downloaded. This way running the download command again pointing to the same directory will only download new or updated files.
  • Use --help with all hbd commands to see available options
  • Find supported platforms for the --platform flag by visiting your Humble Bundle Library and look under the Platform dropdown
  • Download select bundles by using the -k or --keys flag. Find these keys by going to your Purchases section, click on a products and there should be a downloads?key=XXXX in the url.

Metadata

Release files for humblebundle-downloader 0.4.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for humblebundle-downloader 0.4.3
File Size Uploaded
humblebundle_downloader-0.4.3.tar.gz 10.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for humblebundle-downloader 0.4.3
File Interpreter ABI Platform
humblebundle_downloader-0.4.3-py3-none-any.whl Python 3 none any Details

Total release size: 21.9 kB

Release files / humblebundle_downloader-0.4.3.tar.gz

Download URL humblebundle_downloader-0.4.3.tar.gz
Size 10.8 kB
Tags Source
SHA-256 checksum
How to use checksums
d6ee7e86d223a726e81d91748e43756746f5d18b754b74074fdd0f4dcdcda855
BLAKE2b-256 checksum
How to use checksums
1b19bf6414e9040512bc334ef2dd24e8296069b201d68204edacf6d8768a6b37
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.3 CPython/3.10.14 Linux/5.15.0-112-generic

Release files / humblebundle_downloader-0.4.3-py3-none-any.whl

Download URL humblebundle_downloader-0.4.3-py3-none-any.whl
Size 11.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c066e6bfc9112c1de52a5c4026be43c778050edb84dde91e767e08c27d03990f
BLAKE2b-256 checksum
How to use checksums
fc4527fabe8cb4392c663a6c6a2fa07e60195134e6154a7a104f890eaf496aef
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.3 CPython/3.10.14 Linux/5.15.0-112-generic

Release history Release notifications | RSS feed

This release

0.4.3 This release

2 release files

0.4.2

2 release files

0.4.1

2 release files

0.4.0

1 release file

0.3.4

1 release file

0.3.3

1 release file

0.3.2

1 release file

0.3.1

1 release file

0.3.0

1 release file

0.2.2

1 release file

0.2.1

1 release file

0.2.0

1 release file

0.1.3

1 release file

0.1.2

1 release file

0.1.1

1 release file

0.1.0

1 release file

0.0.8

1 release file

0.0.7

1 release file

0.0.6

1 release file

0.0.5

1 release file

0.0.4

1 release file

0.0.3

1 release file

0.0.2

1 release file

0.0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page