egg_server/test/llm/mifyCrawler.ts

12 lines
268 B
TypeScript

import initAppConfig from "../../constant/config"
import { AttachService } from "../../services"
await initAppConfig()
const server = new AttachService()
server
.mifyCrawler("https://lacus.site", "详细介绍alpine")
.then(console.log)
.catch(console.error)