import Crawler from './Crawler'; import { CrawlerCache } from './CrawlerCache'; /** 爬虫参数 */ export interface CrawlerOption { depth: number; uuid?: string; crawlerCache?: CrawlerCache; onFinish?: (crawler: Crawler) => void; maxPageCount: number; timeout: number; pageTimeout: number; isSameOrigin: boolean; isIgnoreAssets: boolean; isMobile: boolean; useCache: boolean; cookie: string; localStorage: object; } export declare const defaultCrawlerOption: CrawlerOption; export default defaultCrawlerOption;