diogogmt / humblebundle-downloader

Download book from Humble Bundles

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

humble bundle downloader

Download your favourite bundles from humblebundle via the command line.

Go package

GoDoc

Installation

Binary

For installation instructions from binaries please visit the Releases Page.

Go

$ go get diogogmt/humblebundle-downloader/cmd

Homebrew

TODO

Usage

$ hbd -h
USAGE
  hbd [flags] <subcommand>

SUBCOMMANDS
  download  Download assets from bundle

FLAGS
  -jwt ...  humblebundle dashboard JWT cookie
  -v false  log verbose output
$ hbd download
USAGE
  hbd download

FLAGS
  -dest ...   directory to download all bundle assets
  -key ...    purchase key
  -types all  which file types to download, eg; pdf, epub, mobi, etc...

Examples

# download all pdf assets from bundle xxx into the bundle-pdf directory
$ hbd download -key xxx -types pdf -dest ./bundle-pdf

# download all assets using JWT _simpleauth_sess cookie for bundles linked to an account
$ hbd download -jwt=eyJ1... -key xxx -types pdf -dest ./bundle-pdf

Contributing

Makefile

$ make help
Usage: 

  build         builds hbd binary
  imports       runs goimports
  lint          runs golint
  test          runs go test
  vet           runs go vet
  staticcheck   runs staticcheck
  vendor        updates vendored dependencies
  help          prints this help message

TODO

  • print all bundle assets before downloading
  • add gh
  • interactive GUI to select which assets to download

About

Download book from Humble Bundles

License:MIT License


Languages

Language:Go 95.5%Language:Makefile 4.5%