Skip to main content

DataCamp Downloader

Python CLI DataCamp

Selenium Typer MIT License

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

Overview

DataCamp Downloader 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.1

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.1
File Size Uploaded
datacamp_downloader_reborn-4.0.1.tar.gz 19.9 kB Details

Built distribution (wheel)

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

Total release size: 41.2 kB

Release files / datacamp_downloader_reborn-4.0.1.tar.gz

Download URL datacamp_downloader_reborn-4.0.1.tar.gz
Size 19.9 kB
Tags Source
SHA-256 checksum
How to use checksums
d7428ba1eb0bf1560059aa4c48ab9495163fabccbb58da4163b4bb1af11b9fe3
BLAKE2b-256 checksum
How to use checksums
5bccb9b859b08cc8a03d3e7dbd26e7b2b85304ebc7e68b55830d591bedd26d69
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.1-py3-none-any.whl

Download URL datacamp_downloader_reborn-4.0.1-py3-none-any.whl
Size 21.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
13d4c751580c442d9bd3f7268152a3e5897634e2e31d66e288bf027c0c690280
BLAKE2b-256 checksum
How to use checksums
b119e82c2d861a85eaf325d88d7389e78115c1dd282f175756c6d1859b307d67
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

4.0.3

2 release files

4.0.2

2 release files

This release

4.0.1 This release

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