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

9 lines (8 loc) 319 B
/// <reference types="node" /> import type { URL } from 'url'; import { CookieParseOptions } from 'cookie'; export interface Cookie extends Omit<CookieParseOptions, 'encode'> { name: string; value: string; } export default function authenticate(url: URL, username: string, password: string): Promise<Cookie[]>;