From 69fd8e141d2e1bdd80122fef05a262ec097ce933 Mon Sep 17 00:00:00 2001
From: Tufayel Ahmed <39314838+TufayelLUS@users.noreply.github.com>
Date: Sun, 19 Jul 2020 14:03:39 +0600
Subject: [PATCH] Changed api for watermark free version download
Changed the API back to working version
---
index.php | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/index.php b/index.php
index 374d978..b014c40 100644
--- a/index.php
+++ b/index.php
@@ -105,7 +105,7 @@ function getContent($url)
Paste a video url below and press "Download". Now scroll down to "Download Video" button and press to initiate the download process.
@@ -125,8 +125,8 @@ function getContent($url)
$thumb = explode("\"",explode("\"thumbnailUrl\":[\"", $resp)[1])[0];
$username = explode("/",explode("@",explode("\"",explode("\"url\":\"", $resp)[1])[0])[1])[0];
/* 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";
+ $videoKey = getKey($contentURL);
+ $cleanVideo = "https://api.tiktokv.com/aweme/v1/playwm/?video_id=$videoKey";
?>