Skip to content

Commit

Permalink
🎨 优化tvbox直播源解析
Browse files Browse the repository at this point in the history
  • Loading branch information
yaoxieyoulei committed Jun 25, 2024
1 parent 6fc4200 commit 3b3b93d
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,14 @@ class TvboxIptvParser : IptvParser {
val res = line.replace("", ",").split(",")
if (res.size < 2) return@forEach

iptvList.add(
iptvList.addAll(res[1].split("#").map { url ->
IptvResponseItem(
name = res[0].trim(),
channelName = res[0].trim(),
groupName = groupName?.trim() ?: "其他",
url = res[1].trim(),
url = url.trim(),
)
)
})
}
}

Expand Down

0 comments on commit 3b3b93d

Please sign in to comment.