✨ 哔咔新增hideSearchImg配置项 #124
This commit is contained in:
@@ -8,7 +8,9 @@ bikaDirectConnection: false
|
||||
bikaImageProxy: s3.go2778.com/static
|
||||
#哔咔图片质量,可选值 ['low', 'medium', 'high', 'original'] 质量依次从低到高
|
||||
imageQuality: medium
|
||||
#使用的hibiapi地址https://github.com/mixmoe/HibiAPI
|
||||
#使用的hibiapi地址https://github.com/mixmoe/HibiAPI
|
||||
hibiAPI: https://hibiapi.dengfenglai.icu
|
||||
#哔咔搜索排序方式:dd(最新发布)、da(最早发布)、ld(最多喜欢)、vd(最多浏览)
|
||||
searchSort: ld
|
||||
searchSort: ld
|
||||
#隐藏哔咔搜索简略图
|
||||
hideSearchImg: false
|
||||
|
||||
@@ -61,14 +61,14 @@ export default new (class {
|
||||
let { title, tags, categories, author, description = "未知", likesCount, thumb, _id, finished } = item
|
||||
msg.push(_id)
|
||||
msg.push([
|
||||
`${index + 1}、${title}\n`,
|
||||
`作者:${author}\n`,
|
||||
`描述:${_.truncate(description)}\n`,
|
||||
`分类:${categories.join(",")}\n`,
|
||||
`喜欢:${likesCount}\n`,
|
||||
`完结:${finished}\n`,
|
||||
tags ? `tag:${_.truncate(tags.join(","))}\n` : "",
|
||||
await this._requestBikaImg(thumb.fileServer, thumb.path)
|
||||
`${index + 1}、${title}\n`,
|
||||
`作者:${author}\n`,
|
||||
`描述:${_.truncate(description)}\n`,
|
||||
`分类:${categories.join(",")}\n`,
|
||||
`喜欢:${likesCount}\n`,
|
||||
`完结:${finished}\n`,
|
||||
tags ? `tag:${_.truncate(tags.join(","))}\n` : "",
|
||||
Config.bika.hideSearchImg ? "" : await this._requestBikaImg(thumb.fileServer, thumb.path)
|
||||
])
|
||||
}
|
||||
return msg
|
||||
|
||||
Reference in New Issue
Block a user