diff --git a/example.php b/example.php new file mode 100644 index 0000000..7049b4a --- /dev/null +++ b/example.php @@ -0,0 +1,109 @@ +Download($Url) != null){ + ?> + + + + + + + + + + Tiktok Video Download + + +
+
+
+ Tiktok Video Download +
+
+ + + +

+ Download Tiktok Video + +

+ + +
+
+ + + + + + + + + + + + + + + + + + + Tiktok Downloader + + +
+
+
+ Tiktok Downloader +
+
+
+
+ +
+ +
+
+
+
+

+ Example: +
https://www.tiktok.com/@ponciklendin/video/6786553850611469573 +
or +
https://m.tiktok.com/v/6786553850611469573.html +

+
+
+ + + + + + + + + + \ No newline at end of file diff --git a/src/class.tiktok.php b/src/class.tiktok.php new file mode 100644 index 0000000..ce1ebff --- /dev/null +++ b/src/class.tiktok.php @@ -0,0 +1,50 @@ +cUrl($url))) + { + $newUrl = explode('', $newUrl[1]); + $url = $newUrl[0]; + } + + preg_match_all('#