xenforo-dl
Version:
XenForo Forum Downloader
26 lines • 838 B
TypeScript
import Logger from './utils/logging/Logger.js';
import { DownloaderConfig } from './XenForoDownloader.js';
export interface DownloaderOptions {
outDir?: string;
dirStructure?: {
site?: boolean;
parentForumsAndSections?: 'all' | 'immediate' | 'none';
thread?: boolean;
attachments?: boolean;
};
request?: {
maxRetries?: number;
maxConcurrent?: number;
minTime?: {
page?: number;
attachment?: number;
};
cookie?: string | null;
};
overwrite?: boolean;
continue?: boolean;
logger?: Logger | null;
}
export declare function getDownloaderConfig(url: string, options?: DownloaderOptions): DownloaderConfig;
export declare function getDefaultDownloaderOutDir(): string;
//# sourceMappingURL=DownloaderOptions.d.ts.map