3.1.3 • Published 1 year ago

gb-dl v3.1.3

Weekly downloads
4
License
MIT
Repository
github
Last release
1 year ago

gb-dl

A CLI for downloading Giant Bomb videos.

gb-dl example gif

How to Use

Binaries

Visit the releases page and download the latest binary for your system.

gb-dl --api-key <YOUR_API_KEY> --video-name <string>

npx

Node Required

npx gb-dl --api-key <YOUR_API_KEY> --video-name <string>

More Examples

Options

API key may be provided via --api-key option or GIANTBOMB_TOKEN env variable.

Either --video-name, --video-guid, or --video-number must be provided.

OptionTypeRequiredDescription
--api-keyStringfalse*Individual Giant Bomb API key.
--video-nameStringfalse*Used to find matching video title.
--video-guidStringfalse*Used to grab a video by its GUID directly.
--video-numberNumberfalse*Zero-based video index for provided show (most recent video is 0). Defaults to 0.
--video-number-reversefalseSwaps direction of provided "--video-number" (oldest video is now 0).
--show-nameStringfalseUsed to find matching show title.
--only-premiumfalseFilter search to only premium videos.
--only-freefalseFilter search to only free videos.
--qualityStringfalseSpecify quality of video to download. Defaults to highest. Other options: hd, high, low and mobile.
--date-afterStringfalseCheck if video was published after date before downloading (i.e. MM/DD/YYY, inclusive).
--date-beforeStringfalseCheck if video was published before date before downloading (i.e. MM/DD/YYY, inclusive).
--out-dirStringfalseSpecify output directory for video. Defaults to current working directory.
--add-guid-prefixfalsePrefixes the downloaded video with its associated GUID (e.g. "2300-14149 - Quick Look_ Forager.mp4")
--add-date-prefixfalsePrefixes the downloaded video with its publish date (e.g. "2021-05-08 - Quick Look_ Forager.mp4")
--infofalseOutput video information instead of download.
--archivefalseCheck archive before downloading.
--blocklistfalseCheck blocklist before downloading.
--cleanfalseIgnore cache when making query.
--debugfalseShow debug statements.
--health-checkfalseCheck the Giant Bomb API for ongoing issues.
--versionfalseOutput the version number.
--helpfalseOutput usage information.

Giant Bomb API

Rate Limiting

  • A one second delay between requests is added to avoid flooding the Giant Bomb API.
  • gb-dl may need to make a few requests to find a video, so expect a short delay after starting.

Caching

  • gb-dl will generate a gb-dl-cache.json in the current working directory when run in order to avoid hitting the Giant Bomb API repeatedly for the same set of data.
  • Cached responses will be used for one hour.
  • Adding --clean to the command will bypass the cache.
  • Expired cache results will be removed on script start.

Archive

  • If passed the --archive flag, gb-dl will generate/use a gb-dl-archive.json in the current working directory.
  • Before downloading a video, it'll check if the video was downloaded previously and abort the download if found.

Blocklist

  • If the --blocklist flag is passed, gb-dl will look up a gb-dl-blocklist.json in the current working directory.
  • Before downloading a video it'll check if the video_show title is included in the blocklist and ignore the download if found.
  • See Examples for an example blocklist.

More Examples

3.1.3

1 year ago

3.1.2

1 year ago

3.1.1

1 year ago

3.1.0

2 years ago

2.11.0

2 years ago

2.11.1

2 years ago

3.0.1

2 years ago

3.0.0

2 years ago

2.10.0

3 years ago

2.9.1

3 years ago

2.9.0

3 years ago

2.7.0

3 years ago

2.8.0

3 years ago

2.7.1

3 years ago

2.6.8

3 years ago

2.6.7

4 years ago

2.6.6

4 years ago

2.6.5

4 years ago

2.6.4

4 years ago

2.6.3

4 years ago

2.6.2

4 years ago

2.6.1

4 years ago

2.6.0

4 years ago

2.5.0

4 years ago

2.4.0

4 years ago

2.3.0

4 years ago

2.2.0

4 years ago

2.1.3

4 years ago

2.1.2

4 years ago

2.1.1

4 years ago

2.1.0

4 years ago

2.0.2

4 years ago

2.0.1

4 years ago

2.0.0

4 years ago

1.2.0

4 years ago

1.1.0

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago

0.1.3

4 years ago

0.1.2

4 years ago

0.1.1

4 years ago

0.1.0

4 years ago