Skip to content
Proyectos

Michele0303/tiktok-live-recorder

Ver en GitHub

Acerca de

🎥✨ A TikTok live streaming recorder tool written in Python. Capture and relive your favorite TikTok moments effortlessly. 🎥✨

Diseño y multimedia

Cómo se miden estas cifras

Crecimiento de estrellas medido

in 24h
0
in 7 days
+3
in 15 days
+8
in 1 month
Recopilando historial

Cambios netos en períodos que se solapan, no totales diarios. Los datos no disponibles se dejan en blanco. Las estrellas indican interés, no calidad.

README.md

Original

TikTok Live Recorder 🎥

TikTok Live Recorder is a tool for recording live streaming TikTok.

Telegram Python Licence Stars Release Docker Pulls

The TikTok Live Recorder is a tool designed to easily capture and save live streaming sessions from TikTok. It records both audio and video, allowing users to revisit and preserve engaging live content for later enjoyment and analysis. It's a valuable resource for creators, researchers, and anyone who wants to capture memorable moments from TikTok live streams.

preview

Table of Contents

Installation

Prerequisites: Git, Python 3.11+, FFmpeg

Windows 💻
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"
git clone https://github.com/Michele0303/tiktok-live-recorder
cd tiktok-live-recorder
uv venv
uv sync
uv run python src/main.py -h
Linux 🐧
curl -LsSf https://astral.sh/uv/install.sh | sh
git clone https://github.com/Michele0303/tiktok-live-recorder
cd tiktok-live-recorder
uv venv
uv sync
uv run python src/main.py -h
macOS 🍎
curl -LsSf https://astral.sh/uv/install.sh | sh
brew install ffmpeg
git clone https://github.com/Michele0303/tiktok-live-recorder
cd tiktok-live-recorder
uv venv
uv sync
uv run python src/main.py -h
Android — Termux 📱

Install Termux from F-Droid (avoid the Play Store version).

pkg update && pkg upgrade
pkg install git ffmpeg uv tur-repo
pkg uninstall python
pkg install python3.11
git clone https://github.com/Michele0303/tiktok-live-recorder
cd tiktok-live-recorder
uv venv
uv sync
uv run python src/main.py -h
Docker 🐳
sudo docker run \
  -v ./output:/output \
  michele0303/tiktok-live-recorder:latest \
  -output /output \
  -user <username>

Command-Line Usage

uv run python src/main.py [options]

Options

Flag Description
-user <USERNAME> Username(s) to record. Separate multiple with commas.
-url <URL> TikTok live URL to record from.
-room_id <ROOM_ID> Room ID to record from.
-mode <MODE> Recording mode: manual, automatic, followers.
-automatic_interval <MIN> Polling interval in minutes (automatic mode only).
-output <DIRECTORY> Directory where recordings will be saved.
-duration <SECONDS> Stop recording after this many seconds.
-proxy <URL> HTTP proxy to bypass regional restrictions. Setup →
-bitrate <BITRATE> Output bitrate for post-processing (e.g. 1M, 1000k).
-telegram Upload the recording to Telegram when done. Requires telegram.json.
-no-update-check Skip the automatic update check on startup.

Recording Modes

Proxy

TikTok LIVE is unavailable in some countries. Point -proxy at an HTTP proxy located in a country where it works:

uv run python src/main.py -user <username> -proxy http://user:pass@host:port

Only TikTok's API checks go through the proxy. The video downloads over your direct connection, so a proxy uses very little traffic. Residential and ISP IPs get blocked less often than datacenter ones.

Sponsored · Need a proxy? Proxy-Seller sells residential, ISP, IPv4/IPv6 and mobile proxies. Use code TIKTOKREC at checkout for 15% off any order.

  • manual (default): Records immediately if the user is currently live.
  • automatic: Polls at regular intervals and records whenever the user goes live.
  • followers: Automatically records live streams from all followed users.

Guide

Contributing

Contributions are welcome! Feel free to open an issue or submit a pull request.

Legal ⚖️

This code is in no way affiliated with, authorized, maintained, sponsored or endorsed by TikTok or any of its affiliates or subsidiaries. Use at your own risk.

Explorar proyectos relacionados

Cargando…