diff --git a/lib/core/searcher.js b/lib/core/searcher.js index b490f6f..139889c 100644 --- a/lib/core/searcher.js +++ b/lib/core/searcher.js @@ -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)],