diff --git a/src/main/kotlin/cn/awalol/ZhihuResolverBot/Main.kt b/src/main/kotlin/cn/awalol/ZhihuResolverBot/Main.kt index 42f25fe..adb6c0a 100644 --- a/src/main/kotlin/cn/awalol/ZhihuResolverBot/Main.kt +++ b/src/main/kotlin/cn/awalol/ZhihuResolverBot/Main.kt @@ -130,6 +130,11 @@ suspend fun main() { } } } + //在末尾添加文章来源 + result.add(ElementBean( + tag = "p", + children = listOf("文章来源: $url") + )) val json = result.toJSONString() logger.debug(json)