mirror of
https://github.com/hex-ci/smzdm_script.git
synced 2026-02-02 18:20:05 +08:00
Update library_task.js
This commit is contained in:
@@ -1428,7 +1428,8 @@ class SmzdmTaskBot extends SmzdmBot {
|
||||
|
||||
if (!isSuccess) {
|
||||
this.$env.log(`获取文章信息失败!${response}`);
|
||||
return null;
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
// 通过正则提取页面中的 channel_id
|
||||
@@ -1437,7 +1438,8 @@ class SmzdmTaskBot extends SmzdmBot {
|
||||
|
||||
if (!matchRet) {
|
||||
this.$env.log(`获取文章信息失败!${response}`);
|
||||
return null;
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
return matchRet[1];
|
||||
|
||||
Reference in New Issue
Block a user