From e438f3cbbde4ccf5614f574a8816db722751fcee Mon Sep 17 00:00:00 2001 From: WebStreamr <210764791+webstreamr@users.noreply.github.com> Date: Fri, 12 Dec 2025 16:48:46 +0000 Subject: [PATCH] fix(extractor): fix HubCloud picking up incorrect FSL URLs --- src/extractor/HubCloud.ts | 2 +- ...hnN3ErdTUxVEl6a2RJOUt6ZTkwSXZMa1JXOFd2WT0} | 100 +++++++++++----- ...lyc1VGY2JSUDFDT2lKbHJxeHZBNk5reExFai9BMD0} | 110 ++++++++++++------ ...k0a3htWVJzOVAxdWdnL01tM2FOcGtHNjlNa1Z4ST0} | 98 +++++++++++----- .../https:hubcloud.onedrivebffzqlpqfllfcld | 19 ++- .../https:hubcloud.onedriveidt1evqfuviqiei | 19 ++- .../https:hubcloud.onedrivenknlofk8snfnknh | 21 +++- .../__snapshots__/HubCloud.test.ts.snap | 21 +--- 8 files changed, 256 insertions(+), 134 deletions(-) rename src/extractor/__fixtures__/HubCloud/{https:gamerxyt.comhubcloud.phphosthubcloudandidbffzqlpqfllfcldandtokenZDdhbnhoS3dXSzlGOGhnN3ErdTUxVGpNRHpBR2lCakE1ZHJUTlcvUTlaTT0 => https:gamerxyt.comhubcloud.phphosthubcloudandidbffzqlpqfllfcldandtokenZDdhbnhoS3dXSzlGOGhnN3ErdTUxVEl6a2RJOUt6ZTkwSXZMa1JXOFd2WT0} (82%) rename src/extractor/__fixtures__/HubCloud/{https:gamerxyt.comhubcloud.phphosthubcloudandididt1evqfuviqieiandtokenRUhXL2kvWnI3MmtFTTlyc1VGY2JSUHJiRlcvSTBwOG9HNWFOa2tiMWVxMD0 => https:gamerxyt.comhubcloud.phphosthubcloudandididt1evqfuviqieiandtokenRUhXL2kvWnI3MmtFTTlyc1VGY2JSUDFDT2lKbHJxeHZBNk5reExFai9BMD0} (83%) rename src/extractor/__fixtures__/HubCloud/{https:gamerxyt.comhubcloud.phphosthubcloudandidnknlofk8snfnknhandtokeneWJLS25YL0hUektLS0k0a3htWVJzOEFuVnVvTHVEKzJ4eCtPUFBuUkRQRT0 => https:gamerxyt.comhubcloud.phphosthubcloudandidnknlofk8snfnknhandtokeneWJLS25YL0hUektLS0k0a3htWVJzOVAxdWdnL01tM2FOcGtHNjlNa1Z4ST0} (83%) diff --git a/src/extractor/HubCloud.ts b/src/extractor/HubCloud.ts index e7b0a5b..8fd03a1 100644 --- a/src/extractor/HubCloud.ts +++ b/src/extractor/HubCloud.ts @@ -28,7 +28,7 @@ export class HubCloud extends Extractor { .filter((_i, el) => { const text = $(el).text(); - return text.includes('FSL') || text.includes('Download File'); + return text.includes('FSL') && !text.includes('FSLv2'); }) .map((_i, el) => { const url = new URL($(el).attr('href') as string); diff --git a/src/extractor/__fixtures__/HubCloud/https:gamerxyt.comhubcloud.phphosthubcloudandidbffzqlpqfllfcldandtokenZDdhbnhoS3dXSzlGOGhnN3ErdTUxVGpNRHpBR2lCakE1ZHJUTlcvUTlaTT0 b/src/extractor/__fixtures__/HubCloud/https:gamerxyt.comhubcloud.phphosthubcloudandidbffzqlpqfllfcldandtokenZDdhbnhoS3dXSzlGOGhnN3ErdTUxVEl6a2RJOUt6ZTkwSXZMa1JXOFd2WT0 similarity index 82% rename from src/extractor/__fixtures__/HubCloud/https:gamerxyt.comhubcloud.phphosthubcloudandidbffzqlpqfllfcldandtokenZDdhbnhoS3dXSzlGOGhnN3ErdTUxVGpNRHpBR2lCakE1ZHJUTlcvUTlaTT0 rename to src/extractor/__fixtures__/HubCloud/https:gamerxyt.comhubcloud.phphosthubcloudandidbffzqlpqfllfcldandtokenZDdhbnhoS3dXSzlGOGhnN3ErdTUxVEl6a2RJOUt6ZTkwSXZMa1JXOFd2WT0 index 437b8b8..5e351a2 100644 --- a/src/extractor/__fixtures__/HubCloud/https:gamerxyt.comhubcloud.phphosthubcloudandidbffzqlpqfllfcldandtokenZDdhbnhoS3dXSzlGOGhnN3ErdTUxVGpNRHpBR2lCakE1ZHJUTlcvUTlaTT0 +++ b/src/extractor/__fixtures__/HubCloud/https:gamerxyt.comhubcloud.phphosthubcloudandidbffzqlpqfllfcldandtokenZDdhbnhoS3dXSzlGOGhnN3ErdTUxVEl6a2RJOUt6ZTkwSXZMa1JXOFd2WT0 @@ -1,4 +1,11 @@ - + + + + + +
@@ -187,10 +201,19 @@ HubCloud | Login + Download [FSL Server] + + + + + - + Download [Server : 10Gbps]@@ -202,18 +225,11 @@ HubCloud | Login - Download [FSL Server] - - Download [ZipDisk Server] -
Resume is Supported in ZipDisk But please extract it as the files is inside zip
+ @@ -237,7 +253,7 @@ HubCloud | Login if(isAndroid()){ android_launch.classList.remove("d-none"); android_launch.addEventListener('click', ()=>{ - var anchor = document.createElement('a');anchor.href= createIntentURL({host: 'https://pub-52f57cc1b81f4ecdac02802c1566c33d.r2.dev/Crayon Shinchan Action Kamen vs Demon 1993 1080p BluRay REMUX AVC [Hindi DD 2.0 + Japanese FLAC 2.0] PitiPati-Ionicboy 4kHDHub.com.mkv?token=1758025506',scheme: 'https',type: 'video/x-matrosk', + var anchor = document.createElement('a');anchor.href= createIntentURL({host: 'https://pub-6b25c191839c4b01a878de4fdde0227b.r2.dev/e35ec4a9a4efb5a154d0d10f9481dafc?token=1765557445',scheme: 'https',type: 'video/x-matrosk', });anchor.click(); }); @@ -274,7 +290,7 @@ HubCloud | Login