From 579cd705d448ce850ff666354d11da94736556e2 Mon Sep 17 00:00:00 2001 From: Hanif Dwy Putra S Date: Sat, 22 Oct 2022 11:20:02 +0000 Subject: [PATCH] fix(core.providers.getvidtik): fix null url in [1] Signed-off-by: Hanif Dwy Putra S --- packages/core/src/getVidTikProvider.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/core/src/getVidTikProvider.ts b/packages/core/src/getVidTikProvider.ts index 52d21fb..998d472 100644 --- a/packages/core/src/getVidTikProvider.ts +++ b/packages/core/src/getVidTikProvider.ts @@ -74,7 +74,7 @@ export class GetVidTikProvider extends BaseProvider { const matchs = matchLink(html); if (matchs) { const tiktokMatchs = matchs.filter((url) => - /http(s)?:\/\/(.*)\.tiktok(cdn)?\.com/gi.test(url), + /http(s)?:\/\/(.*)\.(tiktok(cdn)?\.com|akamaized.net)/gi.test(url), ); if (tiktokMatchs) {