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