xenforo-dl
Version:
XenForo Forum Downloader
15 lines • 591 B
TypeScript
import Logger, { LogLevel } from '../utils/logging/Logger.js';
import { ThreadPage } from '../entities/Thread.js';
import { ForumLike, ForumPage } from '../entities/Forum.js';
export default class Parser {
#private;
name: string;
constructor(logger?: Logger | null);
protected log(level: LogLevel, ...msg: any[]): void;
parseThreadPage(html: string, originURL: string): ThreadPage;
parseForumPage(html: string, originURL: string): ForumPage;
parseGenericPage(html: string, url: string): {
forums: ForumLike[];
};
}
//# sourceMappingURL=Parser.d.ts.map