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
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.logback in to Tok-DL as an input file.
Metadata
Release files for tok-dl 0.0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| tok_dl-0.0.4.tar.gz | 40.8 kB | Without provenance | Details for tok_dl-0.0.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| tok_dl-0.0.4-py3-none-any.whl | Python 3 | none | any | Details for tok_dl-0.0.4-py3-none-any.whl |
Total release size: 69.9 kB
Release files / tok_dl-0.0.4.tar.gz
| Download URL | tok_dl-0.0.4.tar.gz |
|---|---|
| Size | 40.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7ff760f304d4e9efca211f261d89c3258c09fa6eaa2b19148a65402f81d00a92
|
|
BLAKE2b-256 checksum How to use checksums |
53954baeda6dc2d77d8fcb601d7b27e5cd95d9d6187eca239572b1837475274b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.5.22
|
Release files / tok_dl-0.0.4-py3-none-any.whl
| Download URL | tok_dl-0.0.4-py3-none-any.whl |
|---|---|
| Size | 29.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
490e6663fcb147329a13854192e675138c22f13b8b6437d8b480eba21b3468a9
|
|
BLAKE2b-256 checksum How to use checksums |
d02a0b765fa26bed51ae540d12b47f9c802828d8c598920ec238d6ccd3a1f9dd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.5.22
|
Security for tok-dl 0.0.4
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
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.