mirror of
https://github.com/movie-web/providers.git
synced 2025-09-13 13:33:25 +00:00
remove dots from filenames
This commit is contained in:
25
.docs/content/2.Api/4.ProviderControlslistSources.md
Normal file
25
.docs/content/2.Api/4.ProviderControlslistSources.md
Normal file
@@ -0,0 +1,25 @@
|
||||
# `ProviderControls.listSources`
|
||||
|
||||
List all source scrapers that applicable for the target.
|
||||
They are sorted by rank, highest first
|
||||
|
||||
## Example
|
||||
|
||||
```ts
|
||||
const sourceScrapers = providers.listSources();
|
||||
// garuanteed to only return type: 'source'
|
||||
```
|
||||
|
||||
## Type
|
||||
|
||||
```ts
|
||||
function listSources(): MetaOutput[];
|
||||
|
||||
type MetaOutput = {
|
||||
type: 'embed' | 'source';
|
||||
id: string;
|
||||
rank: number;
|
||||
name: string;
|
||||
mediaTypes?: Array<MediaTypes>;
|
||||
};
|
||||
```
|
Reference in New Issue
Block a user