mirror of
https://github.com/Jerryplusy/rc-plugin.git
synced 2025-10-14 16:19:18 +00:00
🐞 fix: 修正正则错误
This commit is contained in:
parent
e075b86d18
commit
586e8771a7
@ -1,10 +1,10 @@
|
|||||||
// 主库
|
// 主库
|
||||||
import fetch from "node-fetch";
|
import fetch from "node-fetch";
|
||||||
|
import fs from "node:fs";
|
||||||
// 爬虫库
|
// 爬虫库
|
||||||
import puppeteer from "../../../lib/puppeteer/puppeteer.js";
|
import puppeteer from "../../../lib/puppeteer/puppeteer.js";
|
||||||
// http库
|
// http库
|
||||||
import axios from "axios";
|
import axios from "axios";
|
||||||
import fs from "node:fs";
|
|
||||||
// 常量
|
// 常量
|
||||||
import { CAT_LIMIT } from "../utils/constant.js";
|
import { CAT_LIMIT } from "../utils/constant.js";
|
||||||
// 书库
|
// 书库
|
||||||
@ -46,11 +46,11 @@ export class query extends plugin {
|
|||||||
fnc: "youthLearning",
|
fnc: "youthLearning",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
reg: "^#搜书(.*)$$",
|
reg: "^#搜书(.*)$",
|
||||||
fnc: "searchBook",
|
fnc: "searchBook",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
reg: "^#bookid(.*)$$",
|
reg: "^#bookid(.*)$",
|
||||||
fnc: "searchBookById",
|
fnc: "searchBookById",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user