From 0c47ce464acdbafa3570dda9c2662dde3862663c Mon Sep 17 00:00:00 2001 From: Tufayel Ahmed <39314838+TufayelLUS@users.noreply.github.com> Date: Fri, 19 Jun 2020 12:16:59 +0600 Subject: [PATCH] Removed watermark free support Since musically API is not working anymore, the version of code now only supports watermarked video downloading. --- index.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/index.php b/index.php index f2d06cf..bc9e9d9 100644 --- a/index.php +++ b/index.php @@ -124,8 +124,9 @@ function getContent($url) $contentURL = explode("\"",$check[1])[0]; $thumb = explode("\"",explode("\"thumbnailUrl\":[\"", $resp)[1])[0]; $username = explode("/",explode("@",explode("\"",explode("\"url\":\"", $resp)[1])[0])[1])[0]; - $videoKey = getKey($contentURL); - $cleanVideo = "https://api2.musical.ly/aweme/v1/playwm/?video_id=$videoKey"; + /* Below code was for watermark free, but its not working currently */ + //$videoKey = getKey($contentURL); + //$cleanVideo = "https://api2.musical.ly/aweme/v1/playwm/?video_id=$videoKey"; ?>