UNPKG

@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!

13 lines (12 loc) 647 B
import IESQuery from "../Interfaces/ITypes/IESQuery.type"; import AbstractEasyScrapeMiddleware from "./EasyScrapeMiddleware.abstract"; declare abstract class AbstractESQueriesManager { protected MiddlewareModule: AbstractEasyScrapeMiddleware; constructor(MiddlewareModule: AbstractEasyScrapeMiddleware); abstract _select$($: any, param: string): any; _each$($: any, param: string, query: IESQuery, key: string): any; _foreach$($: any, query: IESQuery, key: keyof IESQuery): any; _log$(response: any, value: any): void; _if$(currentResponse: any, value: any): any; } export default AbstractESQueriesManager;