Skip to main content
The config/URL_config.ini file is the primary input for DouyinLiveRecorder. Each line represents one live room to monitor. The tool re-reads this file at the start of every loop cycle, so you can add or remove rooms while the recorder is running without restarting it.

Basic format

Add one URL per line:
config/URL_config.ini
https://live.douyin.com/745964462470
https://www.twitch.tv/gamerbee
https://live.bilibili.com/320

Comment out a room

Prefix a line with # to temporarily stop monitoring and recording that room without removing its URL:
config/URL_config.ini
https://live.douyin.com/745964462470
# https://www.twitch.tv/gamerbee
https://live.bilibili.com/320
The recorder will stop the active recording for a commented-out room and save the file normally on the next loop cycle.

Per-room quality override

The global quality setting in config.ini applies to all rooms, but you can override it for individual rooms by prefixing the URL with a quality value and a comma:
config/URL_config.ini
超清,https://live.douyin.com/745964462470
高清,https://www.twitch.tv/gamerbee
https://live.bilibili.com/320
Accepted quality prefixes: 原画超清高清标清流畅
Use a Chinese comma (fullwidth) between the quality value and the URL, not an ASCII comma.

Custom anchor name

By default the recorder uses the streamer’s display name fetched from the platform. To override it with a fixed name, add the 主播: prefix followed by your custom name before the quality and URL:
config/URL_config.ini
主播:MyFavStreamer,超清,https://live.douyin.com/745964462470
主播:GamerBee,https://www.twitch.tv/gamerbee
The custom name is used for the folder and filename so it stays consistent across streams.

Platform URL examples

# Douyin (short link, room ID, or homepage)
https://live.douyin.com/745964462470
https://v.douyin.com/iQFeBnt/
https://live.douyin.com/yall1102

# Kuaishou
https://live.kuaishou.com/u/yall1102

# Huya
https://www.huya.com/52333

# Douyu
https://www.douyu.com/3637778

# YY
https://www.yy.com/22490906/22490906

# Bilibili
https://live.bilibili.com/320

# Xiaohongshu (share link)
http://xhslink.com/xpJpfM

# NetEase CC
https://cc.163.com/583946984

# MaoerFM
https://fm.missevan.com/live/868895007

# Weibo Live
https://weibo.com/l/wblive/p/show/1022:2321325026370190442592

# Kugou Live
https://fanxing2.kugou.com/50428671

# Acfun
https://live.acfun.cn/live/179922

# Taobao Live (requires cookie)
https://tbzb.taobao.com/live?liveId=532359023188

# JD Live
https://3.cn/28MLBy-E

# Migu Video
https://www.miguvideo.com/p/live/120000541321
Most platforms accept multiple URL formats — a full room URL, a short/share URL, or a streamer’s homepage URL. If the platform’s homepage URL is used, DouyinLiveRecorder fetches the active stream from that page automatically.

How changes take effect

DouyinLiveRecorder re-reads URL_config.ini at the beginning of each monitoring loop. You do not need to restart the program after editing the file. Changes — adding rooms, removing rooms, commenting lines, or changing quality prefixes — are picked up automatically on the next cycle.

Build docs developers (and LLMs) love