koishi-plugin-tieba-parse
Version:
一个用于解析百度贴吧链接,并生成帖子截图、提取内容的 Koishi 插件。
16 lines (15 loc) • 495 B
TypeScript
import { Context, Schema } from 'koishi';
export declare const name = "tieba-parser-final";
export declare const using: string[];
export interface Config {
debugMode: boolean;
width: number;
screenshotHeight: number;
showTitle: boolean;
extractFirstPostText: boolean;
extractFirstPostImages: boolean;
extractFirstPostVideo: boolean;
cookie: string;
}
export declare const Config: Schema<Config>;
export declare function apply(ctx: Context, config: Config): void;