- Access the live stream data at all (e.g. Douyin, Taobao)
- Unlock higher quality tiers (original / ultra-HD)
- Avoid rate limiting or bot detection
[Cookie] section of config/config.ini.
How to get a cookie
Open the platform in your browser
Log in to the streaming platform in a desktop browser (Chrome or Firefox recommended).
Go to the Network tab
Reload the page. In the Network tab, click on any request to the platform’s domain.
Copy the Cookie header
In the Headers section of the request, find the
Cookie: request header. Copy the entire value.[Cookie] section
Each platform has its own cookie field. Only fill in the platforms you intend to record.config/config.ini
[Authorization] section
PopkonTV uses a token-based authorisation header instead of a cookie.config/config.ini
popkontv_token to the value of the Authorization bearer token found in your browser’s network requests to the PopkonTV API.
[账号密码] section — username/password login
Some platforms support automatic login using a username and password. DouyinLiveRecorder will log in automatically, retrieve a fresh session cookie, and store it back inconfig.ini.
config/config.ini
sooplive账号 / sooplive密码
SOOP (AfreecaTV) account credentials. Used to log in and obtain a session cookie automatically.
flextv账号 / flextv密码
TTingLive (FlexTV) account credentials.
popkontv账号 / popkontv密码
PopkonTV account credentials. Also requires
partner_code — the partner code shown in the PopkonTV live URL (e.g. P-00117).PopkonTV partner code. Find it in the live room URL after
partnerCode=.TwitCasting login type. Use
normal for a standard TwitCasting account.twitcasting账号 / twitcasting密码
TwitCasting account credentials.
When credentials are provided, DouyinLiveRecorder automatically refreshes the cookie on the next recording session and writes the updated value back into
config.ini.