mirror of
https://github.com/movie-web/providers.git
synced 2025-09-13 18:13:25 +00:00
Review suggestions
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
# `ProviderControls.runAll`
|
# `ProviderControls.runAll`
|
||||||
|
|
||||||
Run all providers one by one in order of their builtin ranking.
|
Run all providers one by one in order of their built-in ranking.
|
||||||
You can attach events if you need to know what is going on while its processing.
|
You can attach events if you need to know what is going on while its processing.
|
||||||
|
|
||||||
## Example
|
## Example
|
||||||
|
@@ -7,7 +7,7 @@ They are sorted by rank, highest first
|
|||||||
|
|
||||||
```ts
|
```ts
|
||||||
const sourceScrapers = providers.listSources();
|
const sourceScrapers = providers.listSources();
|
||||||
// garuanteed to only return type: 'source'
|
// Guaranteed to only return type: 'source'
|
||||||
```
|
```
|
||||||
|
|
||||||
## Type
|
## Type
|
||||||
|
@@ -7,7 +7,7 @@ They are sorted by rank, highest first
|
|||||||
|
|
||||||
```ts
|
```ts
|
||||||
const embedScrapers = providers.listEmbeds();
|
const embedScrapers = providers.listEmbeds();
|
||||||
// garuanteed to only return type: 'embed'
|
// Guaranteed to only return type: 'embed'
|
||||||
```
|
```
|
||||||
|
|
||||||
## Type
|
## Type
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
# `ProviderControls.getMetadata`
|
# `ProviderControls.getMetadata`
|
||||||
|
|
||||||
Get meta data for a scraper, can be either source or embed scraper.
|
Get meta data for a scraper, can be either source or embed scraper.
|
||||||
Returns null if id is not recognized.
|
Returns null if the `id` is not recognized.
|
||||||
|
|
||||||
## Example
|
## Example
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user