mirror of
https://github.com/p-stream/p-stream.git
synced 2026-03-11 17:55:33 +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,
|
||||
episode,
|
||||
);
|
||||
const febboxPromise = scrapeFebboxCaptions(imdbId, season, episode);
|
||||
// const febboxPromise = scrapeFebboxCaptions(imdbId, season, episode);
|
||||
|
||||
// Create timeout promises
|
||||
const timeoutPromise = new Promise<CaptionListItem[]>((resolve) => {
|
||||
|
|
@ -343,10 +343,10 @@ export async function scrapeExternalSubtitles(
|
|||
handleSourceCompletion("OpenSubtitles", captions);
|
||||
return captions;
|
||||
}),
|
||||
Promise.race([febboxPromise, timeoutPromise]).then((captions) => {
|
||||
handleSourceCompletion("Febbox", captions);
|
||||
return captions;
|
||||
}),
|
||||
// Promise.race([febboxPromise, timeoutPromise]).then((captions) => {
|
||||
// handleSourceCompletion("Febbox", captions);
|
||||
// return captions;
|
||||
// }),
|
||||
];
|
||||
|
||||
// Wait for all sources to complete (with timeouts)
|
||||
|
|
|
|||
Loading…
Reference in a new issue