Skip to main content

Easy GOG Downloader

A tool for downloading offline installers and packages from your GOG library.

Features

  • Download offline installers from your GOG library
  • Smart Download Tracking: Automatically tracks downloaded games, enabling incremental downloads
  • Incremental Downloads: Only download new games, skip already downloaded ones
  • Support for multiple languages (German, English)
  • Support for multiple platforms (Windows, Linux)
  • Automatic download organization
  • Resume interrupted downloads
  • Secure authentication via GOG API
  • Optional proxy support for corporate/restricted networks
  • Auto-create configuration on first run

Installation

pip install easy-gog-downloader

First-time setup:

  1. Create a config.json file in your working directory:
cat > config.json << 'EOF'
{
  "credentials": {
    "refresh_token": ""
  },
  "proxy": {
    "enabled": false,
    "http": "",
    "https": ""
  },
  "download": {
    "directory": "./downloads",
    "languages": ["en"],
    "platforms": ["windows"],
    "parallel_downloads": 2,
    "resume": true
  },
  "filters": {
    "include_dlc": true,
    "include_extras": true
  }
}
EOF
  1. Get your GOG authentication token:
gog-get-token

This will guide you through browser-based authentication and automatically save the token to config.json.

  1. Verify your setup:
gog-test
  1. Start downloading:
gog-downloader --list

Option 2: From source

  1. Clone or download this repository
  2. Install Python 3.8+
  3. Install dependencies:
pip install -r requirements.txt
  1. Create configuration:
cp config.example.json config.json
  1. Get your GOG refresh token:

    python3 get_token.py
    

    Follow the instructions to authenticate via browser

  2. Test your setup:

python3 test_tool.py

Usage

If installed via pip:

# List your library
gog-downloader --list

# Download all games (German + English, Windows + Linux)
gog-downloader --download-all

# Download specific game
gog-downloader --download "Game Name"

# Reset download tracker (re-download everything)
gog-downloader --reset-tracker

If running from source:

# List your library
python gog_downloader.py --list

# Download all games
python gog_downloader.py --download-all

# Download specific game
python gog_downloader.py --download "Game Name"

# Reset download tracker
python gog_downloader.py --reset-tracker

Download Tracking

The tool automatically tracks which games you've downloaded in downloaded_games.json. This enables:

  • Incremental downloads: Run --download-all multiple times, only new games are downloaded
  • Resume interrupted sessions: If downloads are interrupted, restart and continue where you left off
  • Smart updates: When you buy new games, just run --download-all again

Example workflow:

# First time: Download all 50 games
gog-downloader --download-all
# Output: Downloaded: 50, Skipped: 0, Total: 50

# Later: Buy 3 new games
gog-downloader --download-all
# Output: Downloaded: 3, Skipped: 50, Total: 53

# If you want to re-download everything:
gog-downloader --reset-tracker
gog-downloader --download-all

The tracker file format:

{
  "games": {
    "1234567": {
      "title": "Cyberpunk 2077",
      "downloaded_at": "2026-03-13T15:30:45"
    }
  }
}

Filtering downloads

With pip installation:

# Windows versions only
gog-downloader --download-all --platform windows

# German installers only
gog-downloader --download-all --language de

# Specific combination
gog-downloader --download "Cyberpunk 2077" --platform linux --language en

With source installation:

# Windows versions only
python gog_downloader.py --download-all --platform windows

# German installers only
python gog_downloader.py --download-all --language de

# Specific combination
python gog_downloader.py --download "Cyberpunk 2077" --platform linux --language en

Configuration

The config.json file contains:

  • GOG credentials: Refresh token from your GOG account
  • Proxy settings: Optional HTTP/HTTPS proxy configuration
  • Download directory: Where files will be saved
  • Default languages and platforms: By default, only English and Windows installers are downloaded. To download other languages or platforms, add them to the config:
    • Languages: "languages": ["en", "de", "fr", ...]
    • Platforms: "platforms": ["windows", "linux", "mac"]
  • Download settings: Resume support, parallel downloads, etc.

File Naming

Downloaded files are automatically named using this format:

Title (Version) (ReleaseYear).extension

Examples:

  • Beneath a Steel Sky 1994 (1.0) (2008).exe - Windows installer
  • Beneath a Steel Sky 1994 (gog-2) (2008).sh - Linux installer

Multi-part installers (large games split across multiple files):

  • BioShock Remastered (1.0.122872) (Part 1).exe - Setup executable
  • BioShock Remastered (1.0.122872) (Part 2).bin - Data archive
  • BioShock Remastered (1.0.122872) (Part 3).bin - Data archive

When multiple language or platform versions exist, they are labeled:

  • Title (Version) (Year) (DE) (W).exe - German, Windows
  • Title (Version) (Year) (EN) (L).sh - English, Linux

Platform codes: W=Windows, L=Linux, M=Mac

File extensions:

  • .exe - Windows installers (Part 1 of multi-part)
  • .sh - Linux installers (Part 1 of multi-part)
  • .pkg - macOS installers (Part 1 of multi-part)
  • .bin - Data archives (Part 2+ of multi-part installers)

Proxy Configuration

If you need to use a proxy server, set it in config.json:

{
  "proxy": {
    "enabled": true,
    "http": "http://proxy.example.com:8080",
    "https": "http://proxy.example.com:8080"
  }
}

Leave enabled: false and empty strings if no proxy is needed.

Notes

  • Authentication is done via the official GOG API
  • Your credentials are stored locally only
  • Downloads are only possible for games you own
  • Large downloads may take time

License

MIT License

Metadata

Release files for easy-gog-downloader 1.2.0

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

Source distribution (sdist)

Source distribution for easy-gog-downloader 1.2.0
File Size Uploaded Provenance Actions
easy_gog_downloader-1.2.0.tar.gz 18.0 kB With provenance Details for easy_gog_downloader-1.2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for easy-gog-downloader 1.2.0
File Interpreter ABI Platform Actions
easy_gog_downloader-1.2.0-py3-none-any.whl Python 3 none any Details for easy_gog_downloader-1.2.0-py3-none-any.whl

Total release size: 33.7 kB

Release files / easy_gog_downloader-1.2.0.tar.gz

Download URL easy_gog_downloader-1.2.0.tar.gz
Size 18.0 kB
Tags Source
SHA-256 checksum
How to use checksums
b714061705fa1bc26076db3953921d2597261bb2c84c50f3510248e4a1ffdc62
BLAKE2b-256 checksum
How to use checksums
a48bbf37cd2156c59473ee56d3382500931f6b45a52655b18edf329b61d31b7a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Mar 16, 2026.

Transparency log

Release files / easy_gog_downloader-1.2.0-py3-none-any.whl

Download URL easy_gog_downloader-1.2.0-py3-none-any.whl
Size 15.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2736bfaa31b02ec8883eeca645812dccdd97ed73fac91c682c19fbd088fbad8c
BLAKE2b-256 checksum
How to use checksums
ecd47a042e764b9ec6fbd83b0cde3d928ac8f9773dfac3dfa23b9a857b42bd9b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Mar 16, 2026.

Transparency log

Security for easy-gog-downloader 1.2.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for easy_gog_downloader-1.2.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Mar 16, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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