mirror of
https://github.com/movie-web/providers.git
synced 2025-09-13 11:33:25 +00:00
Clarity fixes
This commit is contained in:
@@ -5,8 +5,7 @@ import { removeDuplicatedLanguages } from "@/providers/captions";
|
|||||||
|
|
||||||
export async function getCaptions(data: Subtitle[]) {
|
export async function getCaptions(data: Subtitle[]) {
|
||||||
let captions: Caption[] = [];
|
let captions: Caption[] = [];
|
||||||
let subtitle: Subtitle;
|
for (const subtitle of data) {
|
||||||
for (subtitle of data) {
|
|
||||||
let language = '';
|
let language = '';
|
||||||
|
|
||||||
if (subtitle.name.includes('Рус')) {
|
if (subtitle.name.includes('Рус')) {
|
||||||
|
@@ -46,11 +46,6 @@ export const insertunitScraper = makeSourcerer({
|
|||||||
captions = await getCaptions(currentEpisode.cc)
|
captions = await getCaptions(currentEpisode.cc)
|
||||||
}
|
}
|
||||||
|
|
||||||
ctx.progress(80);
|
|
||||||
|
|
||||||
if (currentEpisode.cc != null) {
|
|
||||||
}
|
|
||||||
|
|
||||||
ctx.progress(95);
|
ctx.progress(95);
|
||||||
|
|
||||||
return {
|
return {
|
||||||
|
Reference in New Issue
Block a user