From 9ed643fcf48e84d7f89562f37363af69196f8892 Mon Sep 17 00:00:00 2001 From: Tufayel Ahmed <39314838+TufayelLUS@users.noreply.github.com> Date: Tue, 11 Aug 2020 13:29:42 +0600 Subject: [PATCH] Slight URL update on API --- index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.php b/index.php index d32fee8..e4bb11d 100644 --- a/index.php +++ b/index.php @@ -131,7 +131,7 @@ function getContent($url, $geturl = false) $thumb = explode("\"",explode('og:image" content="', $resp)[1])[0]; $username = explode("/",explode("@",explode("\"",explode("\"canonicalHref\":\"", $resp)[1])[0])[1])[0]; $videoKey = getKey($contentURL); - $cleanVideo = "https://api.tiktokv.com/aweme/v1/playwm/?video_id=$videoKey"; + $cleanVideo = "https://api.tiktokv.com/aweme/v1/playwm/?video_id=$videoKey&line=0&ratio=default&media_type=4&vr_type=0"; $cleanVideo = getContent($cleanVideo, true); ?>