v0.5.114: add Douyu streamers with fan enrichment and live probe.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
voson
2026-07-30 02:42:47 +08:00
co-authored by Cursor
parent fdd926e9bb
commit 38f46ad2ea
17 changed files with 477 additions and 38 deletions
+15 -1
View File
@@ -4364,7 +4364,14 @@ function buildStreamerMetaLine(row) {
const parts = [];
if (uniqueId) {
parts.push({
label: platform === "douyin" ? "抖音号" : platform === "bilibili" ? "UID" : "账号",
label:
platform === "douyin"
? "抖音号"
: platform === "bilibili"
? "UID"
: platform === "douyu"
? "房间号"
: "账号",
value: String(uniqueId),
account: true,
});
@@ -4373,6 +4380,13 @@ function buildStreamerMetaLine(row) {
if (Number.isFinite(Number(row.following_count))) {
parts.push({ label: "关注", value: formatStreamerCount(row.following_count) });
}
} else if (platform === "douyu") {
if (Number.isFinite(Number(row.following_count))) {
parts.push({ label: "关注", value: formatStreamerCount(row.following_count) });
}
if (Number.isFinite(Number(row.total_favorited))) {
parts.push({ label: "播放", value: formatStreamerCount(row.total_favorited) });
}
} else if (Number.isFinite(Number(row.total_favorited))) {
parts.push({ label: "获赞", value: formatStreamerCount(row.total_favorited) });
}