Skip to main content

Tok-DL: A TikTok Downloader that actually works

Features

  • Saves both video and gallery posts, including all of their metadata
  • Highest quality, no watermarks
  • Caches already-downloaded and unavailable posts to avoid fetching them again

Usage

Tok-DL takes input in the form of newline-separated links. This format is the same as is contained in TikTok personal data downloads. It will ignore commented lines.

Usage: tok-dl [OPTIONS] INPUT_FILE

  TikTok Archiver

Options:
  -m, --metadata-only     Only download metadata.
  -o, --out DIRECTORY     Output directory. (default ./tiktok)
  -e, --errors-file FILE  File to save errors to. (default ./errors.log)
  --no-cache              Bypass the bad URL cache.
  --help                  Show this message and exit.

Limitations

Since Tok-DL utilizes the TiKWM API, there is a limit of 5,000 requests per day, and 1 per second. Tok-DL automatically handles this on a second-by-second basis, but you will begin seeing errors if you hit the daily limit. Thankfully, you can easily pick up where you left off by feeding errors.log back in to Tok-DL as an input file.

Metadata

Release files for tok-dl-test 0.0.6

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

Source distribution (sdist)

Source distribution for tok-dl-test 0.0.6
File Size Uploaded
tok_dl_test-0.0.6.tar.gz 15.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for tok-dl-test 0.0.6
File Interpreter ABI Platform
tok_dl_test-0.0.6-py3-none-any.whl Python 3 none any Details

Total release size: 32.5 kB

Release files / tok_dl_test-0.0.6.tar.gz

Download URL tok_dl_test-0.0.6.tar.gz
Size 15.8 kB
Tags Source
SHA-256 checksum
How to use checksums
a0abb9bdb4f43547b83e179d05d99d151bd5d8f6d7eb80ece2cf077068c09fd1
BLAKE2b-256 checksum
How to use checksums
ba906c8a5dad118deacddc1618e3b1ab4a8a48f64f6558640ec7156d1c13fc85
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.13.1

Release files / tok_dl_test-0.0.6-py3-none-any.whl

Download URL tok_dl_test-0.0.6-py3-none-any.whl
Size 16.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9bd2658610b219a3b7e7ce276ed3029b2fe24c2f8d779d3e3ba3a3fe3e124c55
BLAKE2b-256 checksum
How to use checksums
4ff315b5620a09b3f02082f474f7308aa9af8fb37e905d899639df24534a86e4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.13.1

Release history Release notifications | RSS feed

This release

0.0.6 This release

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.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