diff --git a/src/extractor/SuperVideo.test.ts b/src/extractor/SuperVideo.test.ts index cafd877..6a0326c 100644 --- a/src/extractor/SuperVideo.test.ts +++ b/src/extractor/SuperVideo.test.ts @@ -26,4 +26,8 @@ describe('SuperVideo', () => { test('deleted or expired file', async () => { expect(await extractorRegistry.handle(ctx, new URL('https://supervideo.cc/ndf5shmy9lpt'), CountryCode.it)).toMatchSnapshot(); }); + + test('processing video', async () => { + expect(await extractorRegistry.handle(ctx, new URL('https://supervideo.cc/3h1qqoqtldo8'), CountryCode.it)).toMatchSnapshot(); + }); }); diff --git a/src/extractor/SuperVideo.ts b/src/extractor/SuperVideo.ts index 1d6b3d4..0856d70 100644 --- a/src/extractor/SuperVideo.ts +++ b/src/extractor/SuperVideo.ts @@ -33,7 +33,7 @@ export class SuperVideo extends Extractor { return await this.extractInternal(ctx, new URL(`/e${url.pathname}`, url.origin), countryCode); } - if (/'The file was deleted|The file expired/.test(html)) { + if (/'The file was deleted|The file expired|Video is processing/.test(html)) { throw new NotFoundError(); } diff --git a/src/extractor/__fixtures__/SuperVideo/https:supervideo.cc3h1qqoqtldo8 b/src/extractor/__fixtures__/SuperVideo/https:supervideo.cc3h1qqoqtldo8 new file mode 100644 index 0000000..be41446 --- /dev/null +++ b/src/extractor/__fixtures__/SuperVideo/https:supervideo.cc3h1qqoqtldo8 @@ -0,0 +1,381 @@ + + +
+ +