Merge pull request #28 from aquariuscool/master

fix: tiktok downloader v3
This commit is contained in:
Tobi Saputra 2024-09-05 17:58:57 +07:00 committed by GitHub
commit 0dd7b1f0b6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -154,7 +154,7 @@ export const MusicalDown = (url: string, proxy?: string) =>
: text.includes("watermark")
? "videoWatermark"
: `video${i}`
] = $(v).attr("href")
] = $(v).attr("href") != undefined ? $(v).attr("href") : /downloadX\('([^']+)'\)/.exec($(v).attr('onclick'))[1];
i++
}
})