UNPKG

@aliceplex/core

Version:

[![License][license_badge]][license] [![Pipelines][pipelines_badge]][pipelines] [![Coverage][coverage_badge]][pipelines] [![NPM][npm_badge]][npm] [![semantic-release][semantic_release_badge]][semantic_release]

22 lines (21 loc) 566 B
import { ScrapContext, ScrapFunction } from "./type"; declare type TvdbCredential = { apikey: string; userkey: string; username: string; }; declare type TvdbFields = { title: boolean; aired: boolean; summary: boolean; thumbnail: boolean; }; export declare type Options = { tvdbId: string; credential: TvdbCredential; fields?: Partial<TvdbFields>; language?: string; transformContext?: (context: ScrapContext) => ScrapContext; }; export declare const createTvdbScrapper: (options: Options) => ScrapFunction; export {};