ddg-bulk-image-downloader
Version:
Lazy way to download images from Duck Duck Go search results in bulk
20 lines (19 loc) • 451 B
TypeScript
export interface Options {
query: string;
limit: number;
filter?: (image: Image) => boolean;
imageOptions?: object;
outputPath?: string;
debug: boolean;
}
export interface Image {
image: string;
}
export interface ImageResponse {
results: Image[];
next: string;
}
export declare const Size: string[];
export declare const Type: string[];
export declare const Layout: string[];
export declare const Color: string[];