A TikTok live downloader, written in Python.
Project description
tk3u8
tk3u8 is a TikTok live downloader, written in Python. The project was based and built from Michele0303's tiktok-live-recorder, and modified for ease of use and to utilize yt-dlp and FFmpeg as a downloader. The project currently supports Windows and Linux systems.
Some of the key features include:
- Download TikTok live stream by username through command-line
- Choose stream quality (original, uhd, hd, etc.)
- Let program download live stream once user goes online
- Public API support for creating your own scripts
- Proxy support
- Config support
Quickstart
In case you're in hurry, here is a short, quick installation and usage guide. For more comprehensive details, see the installation and usage guides.
Requirements
- Windows or Linux
- Python
v3.10or greater - FFmpeg
- uv
Steps
-
Install Python 3.10.0 or above. For Windows users, ensure
Add Python x.x to PATHis checked. -
Install FFmpeg. For Windows users, follow this guide for proper installation.
-
Open your command-line.
-
Install uv through
pipcommand or via Standalone installer.pip install uv -
Install the latest published stable release of tk3u8 into your system.
uv tool install tk3u8 -
To download a live stream, simply run this:
tk3u8 username -
To stop and save the live stream, just hit
Ctrl+Conce and wait for the program to finish processing and you're done! The live stream will be saved in your Downloads folder.
Documentation
The project documentation is available at scoofszlo.github.io/tk3u8. These includes detailed step-by-step installation, usage guide, configuration guide, and some information about common issues and how to fix them. Here are some of the specific links for each one:
- Installation Guide
- Usage Guide
- Configuration Guide
- Issues - Recommended to check for those who are having regular issues with
HLSLinkNotFoundError,WAFChallengeError,andStreamDataNotFoundErrorerrors.
License
tk3u8 is an open-source program licensed under the MIT license.
If you can, please contribute to this project by suggesting a feature, reporting issues, or make code contributions!
Legal Disclaimer
The use of this software to download content without the permission may violate copyright laws or TikTok's terms of service. The author of this project is not responsible for any misuse or legal consequences arising from the use of this software. Use it at your own risk and ensure compliance with applicable laws and regulations.
This project is not affiliated, endorsed, or sponsored by TikTok or its affiliates. Use this software at your own risk.
Acknowledgements
Special thanks to Michele0303 for their amazing work on tiktok-live-recorder, which served as the foundation for this project.
Contact
For questions or concerns, feel free to contact me via the following!:
- Gmail - scoofszlo@gmail.com
- Discord - @scoofszlo
- Reddit - u/Scoofszlo
- Twitter - @Scoofszlo
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file tk3u8-0.4.0.tar.gz.
File metadata
- Download URL: tk3u8-0.4.0.tar.gz
- Upload date:
- Size: 88.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e9c5cd0f8bd95829cd4dd1d06fddf06234474a3572e9b42e5d20462f1dc72933
|
|
| MD5 |
1cb85dcc071aff8c2c58fdecd07d835b
|
|
| BLAKE2b-256 |
542c6a294331a19e7dc0a002bd8d29cd878c7e7828692d0cfa5a7823422f0799
|
Provenance
The following attestation bundles were made for tk3u8-0.4.0.tar.gz:
Publisher:
publish_to_pypi.yml on Scoofszlo/tk3u8
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
tk3u8-0.4.0.tar.gz -
Subject digest:
e9c5cd0f8bd95829cd4dd1d06fddf06234474a3572e9b42e5d20462f1dc72933 - Sigstore transparency entry: 264117176
- Sigstore integration time:
-
Permalink:
Scoofszlo/tk3u8@c5c4b5a2aaac3caf6515ac8691a26d288bc3ada8 -
Branch / Tag:
refs/tags/v0.4.0 - Owner: https://github.com/Scoofszlo
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish_to_pypi.yml@c5c4b5a2aaac3caf6515ac8691a26d288bc3ada8 -
Trigger Event:
push
-
Statement type:
File details
Details for the file tk3u8-0.4.0-py3-none-any.whl.
File metadata
- Download URL: tk3u8-0.4.0-py3-none-any.whl
- Upload date:
- Size: 25.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6719231d4aa3391006d4d79dc015338fdf0afddcc75cadd4c993a6535b95cb55
|
|
| MD5 |
7ed82e3cadf9019e5ac21c2da4617293
|
|
| BLAKE2b-256 |
002021908a60579d3bbcfe9a621998fd1a73a42dfab8bb6a60bded9b8e123b53
|
Provenance
The following attestation bundles were made for tk3u8-0.4.0-py3-none-any.whl:
Publisher:
publish_to_pypi.yml on Scoofszlo/tk3u8
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
tk3u8-0.4.0-py3-none-any.whl -
Subject digest:
6719231d4aa3391006d4d79dc015338fdf0afddcc75cadd4c993a6535b95cb55 - Sigstore transparency entry: 264117177
- Sigstore integration time:
-
Permalink:
Scoofszlo/tk3u8@c5c4b5a2aaac3caf6515ac8691a26d288bc3ada8 -
Branch / Tag:
refs/tags/v0.4.0 - Owner: https://github.com/Scoofszlo
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish_to_pypi.yml@c5c4b5a2aaac3caf6515ac8691a26d288bc3ada8 -
Trigger Event:
push
-
Statement type: