mirror of
https://github.com/movie-web/providers.git
synced 2025-09-13 07:13:24 +00:00
Fix mistake done with captions
Swap languages and type's place
This commit is contained in:
@@ -61,8 +61,8 @@ export const insertunitScraper = makeSourcerer({
|
||||
captions.push({
|
||||
id: subtitle.url,
|
||||
url: subtitle.url,
|
||||
type: 'vtt',
|
||||
language,
|
||||
type: 'vtt',
|
||||
hasCorsRestrictions: false,
|
||||
});
|
||||
}
|
||||
@@ -122,14 +122,15 @@ export const insertunitScraper = makeSourcerer({
|
||||
captions.push({
|
||||
id: subtitle.url,
|
||||
url: subtitle.url,
|
||||
type: 'vtt',
|
||||
language,
|
||||
type: 'vtt',
|
||||
hasCorsRestrictions: false,
|
||||
});
|
||||
}
|
||||
captions = removeDuplicatedLanguages(captions);
|
||||
}
|
||||
|
||||
ctx.progress(90);
|
||||
|
||||
return {
|
||||
embeds: [],
|
||||
|
Reference in New Issue
Block a user