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>;
};
Table of Contents