mirror of
https://github.com/hansputera/tiktok-dl.git
synced 2026-04-05 19:51:57 +02:00
fix(core.providers.getvidtik): fix null url in [1]
Signed-off-by: Hanif Dwy Putra S <hanifdwyputrasembiring@gmail.com>
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user