+ 300938--570f5a24-c281-484d-93fa-734dabbec813--jkgg--2651705-vidhide.mp4 +
++ Reason for deletion:
+ + DMCA request + +
diff --git a/src/extractor/FileLions.test.ts b/src/extractor/FileLions.test.ts index 1cf4b3c..e6750bc 100644 --- a/src/extractor/FileLions.test.ts +++ b/src/extractor/FileLions.test.ts @@ -21,4 +21,8 @@ describe('FileLions', () => { test('file not found', async () => { expect(await extractorRegistry.handle(ctx, new URL('https://filelions.to/v/ylcp2cu5qanb'))).toMatchSnapshot(); }); + + test('deleted by administration', async () => { + expect(await extractorRegistry.handle(ctx, new URL('https://callistanise.com/f/cy4t5nkerjrt'))).toMatchSnapshot(); + }); }); diff --git a/src/extractor/FileLions.ts b/src/extractor/FileLions.ts index 682b435..378187a 100644 --- a/src/extractor/FileLions.ts +++ b/src/extractor/FileLions.ts @@ -71,7 +71,7 @@ export class FileLions extends Extractor { return await this.extractInternal(ctx, new URL(url.href.replace('/f/', '/v/')), meta); } - if (/File Not Found/.test(html)) { + if (/File Not Found|deleted by administration/.test(html)) { throw new NotFoundError(); } diff --git a/src/extractor/__fixtures__/FileLions/https:callistanise.comfcy4t5nkerjrt b/src/extractor/__fixtures__/FileLions/https:callistanise.comfcy4t5nkerjrt new file mode 100644 index 0000000..f637bba --- /dev/null +++ b/src/extractor/__fixtures__/FileLions/https:callistanise.comfcy4t5nkerjrt @@ -0,0 +1,145 @@ + + + +
+ +