UNPKG

xenforo-dl

Version:
26 lines 838 B
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