Giter Club home page Giter Club logo

tiktok-video-downloader-php's Introduction

TikTok Video Downloader PHP Script

A simple but effective one page TikTok video downloader script in PHP, developed by Tufayel Ahmed

Screenshot

Interface

Features

  • Supports short url(subject to change), normal video urls(desktop style urls only)
  • Supports watermark free video downloading (thanks to @dutchtom91 for the API suggestion)

Video Download Guide

  • First find an acceptable URL format of video to download.
  • Paste it in the input field of the webpage
  • Press download button
  • Scroll down to Download video button. There will be both watermarked and watermark free download button
  • In case watermark free button loads blank page, please keep refreshing that blank page again until you see the watermark free video. (API glitch)
  • Enjoy the video!

Acceptable URL Formats

Limitations

  • May stop working for a while if the user agent is flagged for abuse. Change user agent if stops working.
  • Sometimes it may throw captcha and downloader might fail at that time. Try later in such cases.
  • Short URL support is subject to change anytime
  • Does not support private videos
  • No support for video urls of format m.tiktok.com/v/123456789.htm but supports shorturls and full desktop urls

Usage

Simply download and deploy. No changes required.
Live: Not Available Anymore due to no financial support.

Troubles Downloading Videos?

  • Create an issue in this repository and I will get to know.
  • Make sure to follow correct video URL format.
  • Try once again and wait for "Download Video" button to appear in bottom section of the page. It should auto scroll for you, if not, scroll down manually.
  • Please do not create issues about "Watermark free videos not downloading after videos uploaded from and after 27th July, 2020" as there is already a open issue for that. As soon as I have a solution that is feasible, I will update the code mentioning the changes.

tiktok-video-downloader-php's People

Contributors

tufayellus avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

tiktok-video-downloader-php's Issues

Unable to download the Tiktok video

HI when i try to download the video I am getting an error that "Please double check your url and try again."
But when i downloading through your site it downloads
Screenshot 2021-09-22 173023

Not able to download no watermark videos

I am not able to download no watermark videos I get this json output : {"status_code":5,"status_msg":"Invalid parameters","log_pb":{"impr_id":"20230227150345A1405083582C8729C84D"}}, but the watermark video works

Download without Watermark

You can use my api to download without watermark

https://server1.majhcc.xyz/api/tk?url=https://www.tiktok.com/@billieeilish/video/7014570556607433990

Response:

{
  "success": true,
  "type": "video",
  "description": "BILLIE EILISH",
  "thumbnail": "https://p16-sign-va.tiktokcdn.com/obj/tos-maliva-p-0068/2bbe3a5518eb4b889219787ac5d98cc9_1633206983?x-expires=1643677200&x-signature=Kr8qGniSlrkx5w7H1myDgvMZol0%3D",
  "link": "https://v77.tiktokcdn.com/863323585f85cbfe548d5bd3941bc5ec/61f888e7/video/tos/useast2a/tos-useast2a-ve-0068c004/d987bdb0fa2b44829643569de95c7266/?a=1180&br=1644&bt=822&cd=0%7C0%7C0%7C0&ch=0&cr=0&cs=0&cv=1&dr=0&ds=6&er=&ft=s12Su3Fnnz7ThlMJ.lXq&l=202201311912010102230241361B47D6F4&lr=all&mime_type=video_mp4&net=0&pl=0&qs=0&rc=M3Z2d2Y6ZjVmODMzNzczM0ApZ2Y8OWU2ZmU1Nzs1O2Y8aWdtMi5qcjRvMGBgLS1kMTZzc2A1NjMtNTFfYjE0L2E0Y2E6Yw%3D%3D&vl=&vr=",
  "url": "https://www.tiktok.com/@billieeilish/video/7014570556607433990",
  "dev": "@majhcc"
}

Fatal error: Uncaught Exception: DateTime::__construct(): Failed to parse time string

Fatal error: Uncaught Exception: DateTime::__construct(): Failed to parse time string (@"1638152949") at position 0 (@): Unexpected character in /www/wwwroot/tiktok.jkboy.com/index.php:210 Stack trace: #0 /www/wwwroot/tiktok.jkboy.com/index.php(210): DateTime->__construct('@"1638152949"') #1 {main} thrown in /www/wwwroot/tiktok.jkboy.com/index.php on line 210

Unable to find vid: string inside getKey response

Hi, thanks for your code, I guess the tiktok removed or changed vid: string from response of request video url:

After tested the following snipped I notice that "vid:" was not returned from tiktok url video api.

        $tmp = explode("vid:", $data);
        if (count($tmp) > 1) {
            return trim(explode("%", $tmp[1])[0]);
        }

Anyone already solved that problem?

doesn't work

does not work at all. Every link calls error "Please double check your url and try again."

VM link is not working

Hi, I think the code provided here is out of date because when I use a link vm.tiktok it does not work, but when I use the direct link it does.

However, when I use your own website, the VM link works. I think the code on the GitHub does not include the stuff for handling VM.tiktok but the one on your own server does. Could you update the GitHub repo please :)

Download scrapped video url in java

Hi
I want to download scrapped url in android java
but got Access Denied error

I set useragent and cookie in downloader request

How can i fix it?
please help me

Error

Error: Please double check your url and try again.
Fix it for me please

proxy

Why can't I add a proxy? add so you can use proxy

api2.musical.ly not working?

not able to get watermark free video as api2.musical.ly does not give any response. is it down? any workaround?

authorization error when try to download

Hi there ,
I have this web page when trying to download a video ..

Access to v19-web.tiktokcdn.com was denied
You don't have authorization to view this page.
HTTP ERROR 403

Is that a geo restriction or something with the script , please help , thank you

Need your help please

Hello friend, I hope and you are very well.
I see that you are very good at what you do, that is why I request your support to review a code that I have, which is the same but has some "flaws", and I need the opinion of an expert.

I would like to talk to you, here is my email. [email protected]

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.