Capitalization

This commit is contained in:
mrjvs
2023-12-29 17:51:21 +01:00
parent cd7368d980
commit cb0145d58f
3 changed files with 6 additions and 6 deletions

View File

@@ -75,10 +75,10 @@ If your target is set to `BROWSER`. There will never be required headers, as it'
All streams have a list of captions at `Stream.captions`. The structure looks like this: All streams have a list of captions at `Stream.captions`. The structure looks like this:
```ts ```ts
type Caption = { type Caption = {
type: CaptionType; // language type, either "srt" or "vtt" type: CaptionType; // Language type, either "srt" or "vtt"
id: string; // only unique per stream id: string; // Unique per stream
url: string; // the url pointing to the subtitle file url: string; // The url pointing to the subtitle file
hasCorsRestrictions: boolean; // If true, you will need to proxy it if you're running in a browser hasCorsRestrictions: boolean; // If true, you will need to proxy it if you're running in a browser
language: string; // language code of the caption language: string; // Language code of the caption
}; };
``` ```

View File

@@ -64,7 +64,7 @@ npm run cli -- -sid febbox-mp4 -u URL_HERE
The CLI comes with a few built-in fetchers: The CLI comes with a few built-in fetchers:
- `node-fetch`: Fetch using the "node-fetch" library. - `node-fetch`: Fetch using the "node-fetch" library.
- `native`: Use the new fetch built into nodejs (undici). - `native`: Use the new fetch built into Node.JS (undici).
- `browser`: Start up headless chrome, and run the library in that context using a proxied fetcher. - `browser`: Start up headless chrome, and run the library in that context using a proxied fetcher.
::alert{type="warning"} ::alert{type="warning"}

View File

@@ -25,7 +25,7 @@ interface ProviderBuilderOptions {
// instance of a fetcher, in case the request has cors restrictions. // instance of a fetcher, in case the request has cors restrictions.
// this fetcher will be called instead of normal fetcher. // this fetcher will be called instead of normal fetcher.
// if your environment doesnt have cors restrictions (like nodejs), there is no need to set this. // if your environment doesnt have cors restrictions (like Node.JS), there is no need to set this.
proxiedFetcher?: Fetcher; proxiedFetcher?: Fetcher;
// target to get streams for // target to get streams for