From bdc0753b2d880f275c103bad39dee6e2f705803b Mon Sep 17 00:00:00 2001 From: Tufayel Ahmed <39314838+TufayelLUS@users.noreply.github.com> Date: Sat, 25 Apr 2020 14:16:34 +0600 Subject: [PATCH] Removed support for tiktok shorturl Please do not use any url having vm.tiktok.com as it triggers recaptcha. Thanks. --- index.php | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) diff --git a/index.php b/index.php index 1624877..5638e74 100644 --- a/index.php +++ b/index.php @@ -8,7 +8,7 @@ function getContent($url) CURLOPT_RETURNTRANSFER => true, CURLOPT_HEADER => false, CURLOPT_FOLLOWLOCATION => true, - // Please change user agent below when the script fails to collect video + // Please change the user agent every time when the script stops working. CURLOPT_USERAGENT => 'Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.122 Safari/537.36', CURLOPT_ENCODING => "utf-8", CURLOPT_AUTOREFERER => true, @@ -107,19 +107,8 @@ function getContent($url) } ?>
-   +  
Developed by tufayel.rocks Copyright ©
-