media-scraper
Version:
TypeScript-first multi-platform social media scraper without API keys
19 lines (18 loc) • 459 B
TypeScript
import type { GenericAuthorObject } from "../types";
declare const _default: (url: string) => Promise<FacebookMedia>;
export default _default;
interface FacebookMedia {
id: string;
caption?: string;
permalink_url: string;
thumbnail_url: string;
width?: number;
height?: number;
created_at?: number;
video: {
duration?: number;
sd_url?: string;
hd_url?: string;
};
author: GenericAuthorObject;
}