UNPKG

contract-scraper

Version:

A customisable data scraper for the web based on JSON contracts

9 lines (8 loc) 168 B
export interface ScrapedPage { encoding: string; contents: string; url: string; } export default interface Fetcher { getPage(): Promise<ScrapedPage>; }