Skip to main content

DataCamp Downloader Reborn

Python CLI DataCamp

Selenium Typer MIT License

A maintained command-line tool for downloading and organizing DataCamp course materials.

Overview

DataCamp Downloader Reborn is a command-line tool for downloading DataCamp course materials for personal use. It saves videos, slides, audio, exercises, transcripts, datasets, and subtitles in an organized directory structure.

This fork adds support for current ChromeDriver installations and course slug arguments such as intermediate-python.

Features

  • Download completed courses and tracks by ID.
  • Download courses by slug, for example intermediate-python.
  • Download videos, slides, audio, exercises, scripts, datasets, and subtitles.
  • Resume downloads without overwriting existing files.
  • Run directly from a local checkout or through the datacamp command.

Prerequisites

  • Python 3.10 or newer.
  • Google Chrome or Chromium.
  • A matching chromedriver on PATH, or a Selenium-compatible driver setup.
  • A DataCamp account with access to the courses you download.

Installation

From PyPI

python -m pip install datacamp-downloader-reborn

From this checkout

This installs the local source in editable mode. It does not download the application from PyPI:

git clone https://github.com/maplepy/datacamp-downloader.git
cd datacamp-downloader
python -m venv .venv
source .venv/bin/activate
python -m pip install -e .

On Windows PowerShell, activate the environment with:

.venv\Scripts\Activate.ps1

Usage

After installation, use either the installed command or the Python module:

datacamp --help
python -m datacamp_downloader --help

To run directly from a checkout without an editable install, make the src directory importable:

PYTHONPATH=src python -m datacamp_downloader --help

Log in with credentials:

datacamp login

Or set the _dct authentication token from your browser cookies:

datacamp set-token YOUR_TOKEN

Never share the token. It is a secret that grants access to your DataCamp account.

List available completed courses and tracks:

datacamp courses
datacamp tracks

Download by numeric ID, slug, or the special collection names:

datacamp download 1
datacamp download intermediate-python
datacamp download all
datacamp download all-t

See docs.md for all download options.

Structure

.
├── pyproject.toml                 # Package metadata and dependencies
├── README.md                      # Project documentation
├── docs.md                        # CLI command reference
├── .github/workflows/release.yml  # PyPI release workflow
└── src/
    └── datacamp_downloader/       # Importable Python package
        ├── __main__.py            # `python -m datacamp_downloader`
        ├── downloader.py          # CLI commands
        ├── datacamp_utils.py      # DataCamp API and download logic
        ├── session.py             # Browser session handling
        ├── helper.py              # Output and file helpers
        └── templates/             # Downloaded-content models

The src directory is a source root. The nested datacamp_downloader directory is the actual Python package, which is the conventional layout for modern Python projects and prevents accidental imports from the repository root.

Contributing

  1. Create a branch for your change.
  2. Run python -m compileall -q src and the CLI help command.
  3. Update documentation when command behavior changes.
  4. Open a pull request with a concise description and verification steps.

License

This project is licensed under the MIT License. See LICENSE.

Use the downloader only for content you are authorized to access, and follow DataCamp's Terms of Use.

Metadata

Release files for datacamp-downloader-reborn 4.0.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 datacamp-downloader-reborn 4.0.3
File Size Uploaded
datacamp_downloader_reborn-4.0.3.tar.gz 21.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for datacamp-downloader-reborn 4.0.3
File Interpreter ABI Platform
datacamp_downloader_reborn-4.0.3-py3-none-any.whl Python 3 none any Details

Total release size: 43.5 kB

Release files / datacamp_downloader_reborn-4.0.3.tar.gz

Download URL datacamp_downloader_reborn-4.0.3.tar.gz
Size 21.4 kB
Tags Source
SHA-256 checksum
How to use checksums
e979d65e250943f7a1b870c05b28ae929b734663ea685ef2c06f3cd70b6ad8fe
BLAKE2b-256 checksum
How to use checksums
a11a1c977fb1b54749cdd609d945d28ebfb21eaf5ca4a0126553bb92c025525c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Aug 29, 2026.

Transparency log

Release files / datacamp_downloader_reborn-4.0.3-py3-none-any.whl

Download URL datacamp_downloader_reborn-4.0.3-py3-none-any.whl
Size 22.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a621300ebed7347217fa208dcdfdf79f675d49ea9ecea2929eeb006493f1103c
BLAKE2b-256 checksum
How to use checksums
b42e7555e42c1ac10e1de1101ab634c5eb77aa3a9605ba0a8cbfd4b887fc9a9f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Aug 29, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

4.0.3 This release

2 release files

4.0.2

2 release files

4.0.1

2 release files

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