A simple but effective one page TikTok video downloader script in PHP, developed by Tufayel Ahmed
- 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)
- 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!
- https://www.tiktok.com/@username/video/videoID
- https://vm.tiktok.com/videoID (or similar shorturls)
N.B: Any URL that is not under tiktok.com domain is not supported and will throw error
Do not put URL of m.tiktok.com as this is not redirected to web version automatically and you are requested to collect either short url or desktop urls
- 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
Simply download and deploy. No changes required.
Live: Not Available Anymore due to no financial support.
- 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.