Skip to main content

Tok-DL: A TikTok Downloader that actually works

Project description

Tok-DL: A TikTok Downloader that actually works

PyPI version

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

Installation

pip install tok-dl

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tok_dl-0.0.4.tar.gz (40.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tok_dl-0.0.4-py3-none-any.whl (29.1 kB view details)

Uploaded Python 3

File details

Details for the file tok_dl-0.0.4.tar.gz.

File metadata

  • Download URL: tok_dl-0.0.4.tar.gz
  • Upload date:
  • Size: 40.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.5.22

File hashes

Hashes for tok_dl-0.0.4.tar.gz
Algorithm Hash digest
SHA256 7ff760f304d4e9efca211f261d89c3258c09fa6eaa2b19148a65402f81d00a92
MD5 4a2c7110c44e5b125fac7f67f9806015
BLAKE2b-256 53954baeda6dc2d77d8fcb601d7b27e5cd95d9d6187eca239572b1837475274b

See more details on using hashes here.

File details

Details for the file tok_dl-0.0.4-py3-none-any.whl.

File metadata

  • Download URL: tok_dl-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 29.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.5.22

File hashes

Hashes for tok_dl-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 490e6663fcb147329a13854192e675138c22f13b8b6437d8b480eba21b3468a9
MD5 2bc1119172493e1315da27accef8a3c8
BLAKE2b-256 d02a0b765fa26bed51ae540d12b47f9c802828d8c598920ec238d6ccd3a1f9dd

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page