Compare commits

...
3 Commits
Author SHA1 Message Date
shanmite 41b036966e ci: fix pkg.yml 2023-06-29 08:01:24 +08:00
shanmite c282d8492d docs: 更新CHANGELOG 2023-06-28 16:06:23 +08:00
shanmite 5a3c16d20d fix: 专栏获取内容不正确,需要排除推荐内容 (#293)
Fixed #293
2023-06-28 15:28:27 +08:00
4 changed files with 7 additions and 4 deletions
-2
View File
@@ -49,7 +49,6 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
with:
file: "dist/*.zip"
delete_file: "dist/*.zip"
tag_name: "v2"
overwrite: true
arm64:
@@ -78,6 +77,5 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
with:
file: "dist/*.zip"
delete_file: "dist/*.zip"
tag_name: "v2"
overwrite: true
+5
View File
@@ -1,5 +1,10 @@
<!-- markdownlint-disable MD036 MD024-->
# CHANGELOG
## 主要变化(2.7.11)
* 5a3c16d fix: 专栏获取内容不正确,需要排除推荐内容 (#293)
_如果之前版本小于上一版本,请查看[CHANGELOG](https://github.com/shanmiteko/LotteryAutoScript/blob/main/CHANGELOG.md)变更说明_
## 主要变化(2.7.10)
* 29645bc fixed: 话题搜索功能已失效 #285
* d950a59 fix: is_imitator导致错误评论
+1 -1
View File
@@ -432,7 +432,7 @@ class Searcher {
continue
}
const
content = await bili.getOneArticleByCv(id),
content = (await bili.getOneArticleByCv(id) || "").split("推荐文章")[0],
dyids = content.match(/[0-9]{18}/g) || [],
short_ids = content.match(/(?<=b23.tv\/)[a-zA-Z0-9]{7}/g) || [],
short_id_set = [...new Set(short_ids)],
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "lottery-auto-script",
"version": "2.7.10",
"version": "2.7.11",
"description": "自动参与B站动态抽奖",
"main": "main.js",
"scripts": {