Loukious / TikTokStreamKeyGenerator

TikTok Live Stream Key Generator for OBS Studio
120 stars 38 forks source link
obs obs-studio stream-key streaming streamkeys tiktok

This project is discontinued!

For a simpler solution to generate TikTok stream keys check my other project here

TikTok Live Stream Key Generator for OBS Studio

Description

This Python script is a valuable tool for content creators looking to broadcast on TikTok's live streaming platform using OBS Studio, an alternative to TikTok LIVE Studio. The script's standout feature is generating a stream key, a capability typically restricted and highly sought after. This stream key enables users to stream via OBS Studio, offering more control and flexibility over their live broadcasts. Additionally, the script provides the base stream URL and a shareable URL for the stream.

"Buy Me A Coffee"

Features

Requirements

Installation

Either download and use the provided exe from here or follow the steps below to run the script. Ensure you have Python and PIP working. In the command line, install the required packages using the following command (run the command in the same directory as the script):

pip install -r requirements.txt

or if pip is not working, try:

python -m pip install -r requirements.txt

Usage

Simply run the script to open the GUI.

Command Format

python TikTokStreamKeyGenerator.py

Press the login button to login to TikTok. After logging in, you can enter the game tag ID, stream title, and other options. Press the go live button to generate the stream key.

Output

The script will output:

FAQ

I'm getting a Please login first error. What should I do?

Try a different server from the one you're using.

I'm getting a Maximum number of attempts reached. Try again later. error. What should I do?

This error sometimes occurs when TikTok detects selenium. You can use this extension to export your cookies and import them into the script.