From 68232363ae0accc8f4920929ba02e7d1ee55fb83 Mon Sep 17 00:00:00 2001 From: WebStreamr <210764791+webstreamr@users.noreply.github.com> Date: Mon, 8 Sep 2025 09:10:49 +0000 Subject: [PATCH] fix(extractor): find more FSL links --- src/extractor/HubCloud.test.ts | 4 + src/extractor/HubCloud.ts | 6 +- .../https:hubcloud.onedrivenknlofk8snfnknh | 322 ++++++++++++++++ ...0k0a3htWVJzeWVoZm85QS9CaENJTnBXdVlOakd0bz0 | 359 ++++++++++++++++++ .../__snapshots__/HubCloud.test.ts.snap | 17 + 5 files changed, 707 insertions(+), 1 deletion(-) create mode 100644 src/extractor/__fixtures__/HubCloud/https:hubcloud.onedrivenknlofk8snfnknh create mode 100644 src/extractor/__fixtures__/HubCloud/https:stockbhoomi.comhubcloud.phphosthubcloudandidnknlofk8snfnknhandtokeneWJLS25YL0hUektLS0k0a3htWVJzeWVoZm85QS9CaENJTnBXdVlOakd0bz0 diff --git a/src/extractor/HubCloud.test.ts b/src/extractor/HubCloud.test.ts index 4ff95fd..84b8c08 100644 --- a/src/extractor/HubCloud.test.ts +++ b/src/extractor/HubCloud.test.ts @@ -17,4 +17,8 @@ describe('HubCloud', () => { test('handle crayon shin-chan 1993', async () => { expect(await extractorRegistry.handle(ctx, new URL('https://hubcloud.one/drive/bffzqlpqfllfcld'))).toMatchSnapshot(); }); + + test('handle dark 2017 s03e08', async () => { + expect(await extractorRegistry.handle(ctx, new URL('https://hubcloud.one/drive/nknlofk8snfnknh'))).toMatchSnapshot(); + }); }); diff --git a/src/extractor/HubCloud.ts b/src/extractor/HubCloud.ts index 845accb..007888f 100644 --- a/src/extractor/HubCloud.ts +++ b/src/extractor/HubCloud.ts @@ -22,7 +22,11 @@ export class HubCloud extends Extractor { const $ = cheerio.load(linksHtml); return $('a') - .filter((_i, el) => $(el).text().includes('FSL')) + .filter((_i, el) => { + const text = $(el).text(); + + return text.includes('FSL') || text.includes('Download File'); + }) .map((_i, el) => { const url = new URL($(el).attr('href') as string); return { diff --git a/src/extractor/__fixtures__/HubCloud/https:hubcloud.onedrivenknlofk8snfnknh b/src/extractor/__fixtures__/HubCloud/https:hubcloud.onedrivenknlofk8snfnknh new file mode 100644 index 0000000..026216f --- /dev/null +++ b/src/extractor/__fixtures__/HubCloud/https:hubcloud.onedrivenknlofk8snfnknh @@ -0,0 +1,322 @@ + + +Dark.S03E08.The.Paradise.1080p.NF.WEB-DL.English.DDP5.1-German.DDP5.1.H.264-4kHdHub.Com.mkv + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + +
+HubCloud | Create An Account |Login +
+
+
+
+

+
+ +
+ +
+ Dark.S03E08.The.Paradise.1080p.NF.WEB-DL.English.DDP5.1-German.DDP5.1.H.264-4kHdHub.Com.mkv
+ +
+
    +
  • File Size3.15 GB
  • +
  • File Typevideo/x-matrosk
  • +
  • Share Date18-May-2025 10:45:55
  • +
+ + +
+
+ + +
+ + + +
+ + + + + +
+ +
+ + + + + + + + + + + + + + + + + + + +

Please Wait While Page is loading

+
+
+ + + + Generate Direct Download Link + + +
+ + + +
+ + + + Download From Telegram + + +
+

+
+ + + + + +
+ + + + + +
+ + + + + + +
+
+ +
+ +
+
+
+

+
+ + + + + \ No newline at end of file diff --git a/src/extractor/__fixtures__/HubCloud/https:stockbhoomi.comhubcloud.phphosthubcloudandidnknlofk8snfnknhandtokeneWJLS25YL0hUektLS0k0a3htWVJzeWVoZm85QS9CaENJTnBXdVlOakd0bz0 b/src/extractor/__fixtures__/HubCloud/https:stockbhoomi.comhubcloud.phphosthubcloudandidnknlofk8snfnknhandtokeneWJLS25YL0hUektLS0k0a3htWVJzeWVoZm85QS9CaENJTnBXdVlOakd0bz0 new file mode 100644 index 0000000..6f99c8a --- /dev/null +++ b/src/extractor/__fixtures__/HubCloud/https:stockbhoomi.comhubcloud.phphosthubcloudandidnknlofk8snfnknhandtokeneWJLS25YL0hUektLS0k0a3htWVJzeWVoZm85QS9CaENJTnBXdVlOakd0bz0 @@ -0,0 +1,359 @@ + + + + +Dark.S03E08.The.Paradise.1080p.NF.WEB-DL.English.DDP5.1-German.DDP5.1.H.264-4kHdHub.Com.mkv + + + + + + + + + + + + + + + + + + + + +
+
+
+HubCloud | Login +
+ +
+
+

+
+ +
+ +
+ Dark.S03E08.The.Paradise.1080p.NF.WEB-DL.English.DDP5.1-German.DDP5.1.H.264-4kHdHub.Com.mkv
+ +
+
    +
  • File Size3.15 GB
  • +
  • File Typevideo/x-matrosk
  • +
  • Share Date18-May-2025 10:45:55
  • +
+ +
+
+ + +
+

Download Link Generated

+
+ +
+ Copy Share Link +
+
+ + + + + + + + + + + +
+ + +
+ + + + + Download [PixelServer : 2] + + + + + + + + Download [Server : 10Gbps] + +

+ Resume Not Supported in 10Gbps So Use only if you have stable internet (: +

+ + + + + + + + + + + Download File [3.15 GB] + + + + Download [ZipDisk Server] +

Resume is Supported in ZipDisk But please extract it as the files is inside zip

+ + + + + + + +
+ Downoad From Telegram ðŸ”Β₯ + + + + + +

+ + + + + + +
+ + + +
+
+ +
+ +
+
+
+

+
+Msc + + + + + + + + + + + + + + + + + diff --git a/src/extractor/__snapshots__/HubCloud.test.ts.snap b/src/extractor/__snapshots__/HubCloud.test.ts.snap index 532dbd7..97e6571 100644 --- a/src/extractor/__snapshots__/HubCloud.test.ts.snap +++ b/src/extractor/__snapshots__/HubCloud.test.ts.snap @@ -17,6 +17,23 @@ exports[`HubCloud handle crayon shin-chan 1993 1`] = ` ] `; +exports[`HubCloud handle dark 2017 s03e08 1`] = ` +[ + { + "format": "unknown", + "label": "HubCloud (FSL)", + "meta": { + "bytes": 3382286745, + "countryCodes": [], + "title": "Dark.S03E08.The.Paradise.1080p.NF.WEB-DL.English.DDP5.1-German.DDP5.1.H.264-4kHdHub.Com.mkv", + }, + "sourceId": "hubcloud_fsl", + "ttl": 259200000, + "url": "https://pub-c0c400d353df4c68ae3a2d5e089ecf60.r2.dev/Dark.S03E08.The.Paradise.1080p.NF.WEB-DL.English.DDP5.1-German.DDP5.1.H.264-4kHdHub.Com.mkv", + }, +] +`; + exports[`HubCloud handle dexter original sin 2024 s01e01 1`] = ` [ {