instamancer
Version:
Scrape the Instagram API with Puppeteer
17 lines (16 loc) • 530 B
TypeScript
import * as winston from "winston";
interface IUpload {
url: string;
directory: string;
logger: winston.Logger;
}
export declare function depot(this: IUpload, url: string, name: string, extension: string): Promise<void>;
/**
* Upload list of posts to a CSV file
*/
export declare function toCSV(this: IUpload, posts: object[], filePath: string): Promise<void>;
/**
* Upload list of posts to a JSON file
*/
export declare function toJSON(this: IUpload, posts: object[], filePath: string): Promise<void>;
export {};