mirror of
https://github.com/movie-web/providers.git
synced 2025-09-13 18:13:25 +00:00
Quotes
This commit is contained in:
@@ -66,7 +66,7 @@ const myFetcher: Fetcher = (url, ops) => {
|
||||
// Do some fetching
|
||||
return {
|
||||
body: {},
|
||||
finalUrl: "",
|
||||
finalUrl: '',
|
||||
headers: new Headers(), // should only contain headers from ops.readHeaders
|
||||
statusCode: 200,
|
||||
};
|
||||
|
@@ -67,7 +67,7 @@ const providers = buildProviders()
|
||||
rank: 800,
|
||||
flags: [],
|
||||
scrapeMovie(ctx) {
|
||||
throw new Error("Not implemented");
|
||||
throw new Error('Not implemented');
|
||||
}
|
||||
})
|
||||
.build();
|
||||
|
@@ -75,7 +75,7 @@ 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:
|
||||
```ts
|
||||
type Caption = {
|
||||
type: CaptionType; // language type, either 'srt' or 'vtt'
|
||||
type: CaptionType; // language type, either "srt" or "vtt"
|
||||
id: string; // only unique per stream
|
||||
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
|
||||
|
Reference in New Issue
Block a user