Skip to content

Commit

Permalink
优化动态视频标题(App接口)
Browse files Browse the repository at this point in the history
  • Loading branch information
aaa1115910 committed Dec 15, 2024
1 parent 45a5964 commit 5f2bf8a
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,8 @@ data class DynamicVideo(
aid = archive.avid,
bvid = archive.bvid,
cid = archive.cid,
title = if (!isDynamicVideo) archive.title else desc!!.text.substring(5),
title = if (!isDynamicVideo) archive.title
else desc?.text?.replace("动态视频|", "") ?: "",
cover = archive.cover,
author = author.author.name,
duration = convertStringTimeToSeconds(archive.coverLeftText1),
Expand Down

0 comments on commit 5f2bf8a

Please sign in to comment.