diff --git a/src/extractor/Dropload.test.ts b/src/extractor/Dropload.test.ts index 4b0843d..958fcbc 100644 --- a/src/extractor/Dropload.test.ts +++ b/src/extractor/Dropload.test.ts @@ -18,4 +18,8 @@ describe('Dropload', () => { test('file not found', async () => { expect(await extractorRegistry.handle(ctx, new URL('https://dropload.io/asdfghijklmn.html'), CountryCode.de)).toMatchSnapshot(); }); + + test('processing / internal problem', async () => { + expect(await extractorRegistry.handle(ctx, new URL('https://dropload.io/7xtxuac84xyh.html'), CountryCode.de)).toMatchSnapshot(); + }); }); diff --git a/src/extractor/Dropload.ts b/src/extractor/Dropload.ts index 7bff338..10d5ae7 100644 --- a/src/extractor/Dropload.ts +++ b/src/extractor/Dropload.ts @@ -27,7 +27,7 @@ export class Dropload extends Extractor { protected async extractInternal(ctx: Context, url: URL, countryCode: CountryCode): Promise { const html = await this.fetcher.text(ctx, url); - if (html.includes('File Not Found')) { + if (html.includes('File Not Found') || html.includes('Pending in queue')) { throw new NotFoundError(); } diff --git a/src/extractor/__fixtures__/Dropload/https:dropload.io7xtxuac84xyh.html b/src/extractor/__fixtures__/Dropload/https:dropload.io7xtxuac84xyh.html new file mode 100644 index 0000000..2c37b24 --- /dev/null +++ b/src/extractor/__fixtures__/Dropload/https:dropload.io7xtxuac84xyh.html @@ -0,0 +1,431 @@ + + + + + + Dropload - Revolution Video Hosting + + + + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+ + + +
+
+ +
+ + + + +
+ +
+ + + + +
+
+
+
+ + + + + + + + + + + + + + + +
+
+
+
+ + + + + + + + + + + + +
+
+
+
+
+ 75% +
+
+
+
Pending in queue
+ Video is processing now.
Conversion stage: ...
+
+
+
+
+ + + + + + +
+
+ +

Bates Motel 2x3

+
+
+
+
+
+
+
+ + +
+ + on Aug 6, 2024 +
+ +
+ + +
+
+ + 00:42:55 +
+ +
+
+
+ + + +
+
+
+
+
+ +
+
+ +
+
+
+ + +
+
+ + + + +
+
+ + +
+
+ + +
+
+
+ + +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + diff --git a/src/extractor/__snapshots__/Dropload.test.ts.snap b/src/extractor/__snapshots__/Dropload.test.ts.snap index c1432ed..8083742 100644 --- a/src/extractor/__snapshots__/Dropload.test.ts.snap +++ b/src/extractor/__snapshots__/Dropload.test.ts.snap @@ -21,3 +21,5 @@ exports[`Dropload dropload.io 1`] = ` `; exports[`Dropload file not found 1`] = `[]`; + +exports[`Dropload processing / internal problem 1`] = `[]`;