From 4afb849f50892220cebc7cadd3812030a130d5f4 Mon Sep 17 00:00:00 2001
From: Tufayel Ahmed <39314838+TufayelLUS@users.noreply.github.com>
Date: Sun, 19 Jul 2020 14:18:19 +0600
Subject: [PATCH] Changed API for watermark free version
---
index.php | 48 ++++++++++++++++++++++++++++--------------------
1 file changed, 28 insertions(+), 20 deletions(-)
diff --git a/index.php b/index.php
index b014c40..38cc7fa 100644
--- a/index.php
+++ b/index.php
@@ -1,6 +1,6 @@
TikTok Video Downloader
+
-
+
@@ -105,12 +110,13 @@ function getContent($url)
Download video easily!
-
Watermark free download is available again! Shorturl support is subject to change!
+
Watermark free version is back again! Shorturl support is subject to change!
+
- Paste a video url below and press "Download". Now scroll down to "Download Video" button and press to initiate the download process.
+ Paste a video url below and press "Download". Now scroll down to "Download Video" button and press to initiate the download process.
@@ -124,24 +130,25 @@ 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];
- /* Below code was for watermark free, but its not working currently */
$videoKey = getKey($contentURL);
$cleanVideo = "https://api.tiktokv.com/aweme/v1/playwm/?video_id=$videoKey";
+ $cleanVideo = getContent($cleanVideo, true);
?>
-
+