@easyscrape/core
Version:
EasyScrape is a NodeJS module designed to be integrated into your web scraping project. With it, you can more easily get information from the web from a JSON object to organized data, as a REST API could give you!
10 lines (9 loc) • 536 B
TypeScript
import IESQuery from "../Interfaces/ITypes/IESQuery.type";
import IESObject from "../Interfaces/ITypes/IESObject.type";
import AbstractESMiddlewareUtilities from "./ESMiddlewareUtilities.abstract";
declare abstract class AbstractEasyScrapeMiddleware extends AbstractESMiddlewareUtilities {
collect($: any, query: IESObject | IESQuery | string): any;
collectFromQuery($: any, query: IESQuery): any;
abstract load($: any): (query: IESQuery | IESObject | string) => any;
}
export default AbstractEasyScrapeMiddleware;