mirror of
https://github.com/p-stream/p-stream.git
synced 2026-04-21 09:02:22 +00:00
disable fed subs
This commit is contained in:
parent
29687ff6c9
commit
5a17ee5f89
1 changed files with 5 additions and 5 deletions
|
|
@ -309,7 +309,7 @@ export async function scrapeExternalSubtitles(
|
||||||
season,
|
season,
|
||||||
episode,
|
episode,
|
||||||
);
|
);
|
||||||
const febboxPromise = scrapeFebboxCaptions(imdbId, season, episode);
|
// const febboxPromise = scrapeFebboxCaptions(imdbId, season, episode);
|
||||||
|
|
||||||
// Create timeout promises
|
// Create timeout promises
|
||||||
const timeoutPromise = new Promise<CaptionListItem[]>((resolve) => {
|
const timeoutPromise = new Promise<CaptionListItem[]>((resolve) => {
|
||||||
|
|
@ -343,10 +343,10 @@ export async function scrapeExternalSubtitles(
|
||||||
handleSourceCompletion("OpenSubtitles", captions);
|
handleSourceCompletion("OpenSubtitles", captions);
|
||||||
return captions;
|
return captions;
|
||||||
}),
|
}),
|
||||||
Promise.race([febboxPromise, timeoutPromise]).then((captions) => {
|
// Promise.race([febboxPromise, timeoutPromise]).then((captions) => {
|
||||||
handleSourceCompletion("Febbox", captions);
|
// handleSourceCompletion("Febbox", captions);
|
||||||
return captions;
|
// return captions;
|
||||||
}),
|
// }),
|
||||||
];
|
];
|
||||||
|
|
||||||
// Wait for all sources to complete (with timeouts)
|
// Wait for all sources to complete (with timeouts)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue