UNPKG

@subtitles/providers

Version:

Providers are the core of applications, where the subtitles are collected. Each provider exports a unique strategy for gathering data. From legendastv's web scraping from opensubtitle API usage, you can collect subtitles from your favorite tv shows and mo

7 lines (6 loc) 230 B
import { Subtitle, Provider, SearchFilter } from '../types'; export default class LegendasTvProvider implements Provider<Subtitle[]> { #private; constructor(); search({ keyword }: SearchFilter): Promise<Subtitle[]>; }