mirror of
https://github.com/movie-web/providers.git
synced 2025-09-13 10:33:25 +00:00
443 B
443 B
ProviderControls.listSources
List all source scrapers that are applicable for the target. They are sorted by rank; highest first
Example
const sourceScrapers = providers.listSources();
// Guaranteed to only return the type: 'source'
Type
function listSources(): MetaOutput[];
type MetaOutput = {
type: 'embed' | 'source';
id: string;
rank: number;
name: string;
mediaTypes?: Array<MediaTypes>;
};