spelling/grammar

This commit is contained in:
Paul Dee
2023-12-31 03:35:48 +00:00
parent ac3dfb98e1
commit 1296915a42
17 changed files with 63 additions and 63 deletions

View File

@@ -1,6 +1,6 @@
# `ProviderControls.runSourceScraper`
Run a specific source scraper and get its outputted streams.
Run a specific source scraper and get its emitted streams.
## Example
@@ -24,7 +24,7 @@ try {
})
} catch (err) {
if (err instanceof NotFoundError) {
console.log('source doesnt have this media');
console.log('source does not have this media');
} else {
console.log('failed to scrape')
}
@@ -48,13 +48,13 @@ interface SourceRunnerOptions {
// the media you want to see sources from
media: ScrapeMedia;
// id of the source scraper you want to scrape from
// ID of the source scraper you want to scrape from
id: string;
}
type SourcererOutput = {
// list of embeds that the source scraper found.
// embed id is a reference to an embed scraper
// embed ID is a reference to an embed scraper
embeds: {
embedId: string;
url: string;