v0.5.114: add Douyu streamers with fan enrichment and live probe.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
+15
-1
@@ -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) });
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user