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 @@ + + + + + + + Watch Battle Royale (2000) + + + + + + + + + + + + + + + + + + + + + + +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+
+ + + +
Video is processing now.
Conversion stage: ...
+ + + + + + +
+
+ +
+
+ +
+
+

+ Battle Royale (2000) +

+
    +
  • + on + Jul 24, 2022 +
  • +
  • + germancloud123 +
  • +
  • + 373 views +
  • +
  • + +
  • + +
+
+
+
    +
  • +
  • +
+
+
+
+ + + +
+
+
+ +
+
+
+
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+ + +
+
+
+
+
+
+ +
+
+
+
+ +
+
+
+
+
+
+
+
+ + +
+
+
+
+
+
+
+
+
+ + + + + + + + \ No newline at end of file diff --git a/src/extractor/__snapshots__/SuperVideo.test.ts.snap b/src/extractor/__snapshots__/SuperVideo.test.ts.snap index 010ebec..360c7c7 100644 --- a/src/extractor/__snapshots__/SuperVideo.test.ts.snap +++ b/src/extractor/__snapshots__/SuperVideo.test.ts.snap @@ -21,6 +21,8 @@ exports[`SuperVideo embed only 1`] = ` ] `; +exports[`SuperVideo processing video 1`] = `[]`; + exports[`SuperVideo supervideo.cc /e/ 1`] = ` [ {