Giter Club home page Giter Club logo

Comments (15)

TufayelLUS avatar TufayelLUS commented on June 18, 2024

Thank you for letting me know. I will have a look at the issue and update the repository as soon as the issue is solved.

from tiktok-video-downloader-php.

jaimin2000 avatar jaimin2000 commented on June 18, 2024

do you have any source to get a solution or you are doing it yourself? if you can share it with me then I can solve it myself and can merge with your repo.

from tiktok-video-downloader-php.

TufayelLUS avatar TufayelLUS commented on June 18, 2024

I tried to debug the issue, it is probably related to the cookies as I tried to download the video using python and it worked well with cookies being set. If you can inject cookies into the downloadVideo function, it should start to work again.

from tiktok-video-downloader-php.

jaimin2000 avatar jaimin2000 commented on June 18, 2024

on your website https://www.novice-geek.com/tiktok.php, I inserted TikTok video URL and try to download the video and it is redirected me to another tab, and try to load the video, but actually, the problem is with the video file.

from tiktok-video-downloader-php.

jaimin2000 avatar jaimin2000 commented on June 18, 2024

can you share me that python repo URL, so i can check with that.

from tiktok-video-downloader-php.

TufayelLUS avatar TufayelLUS commented on June 18, 2024

I don't have any python version of the script at this moment. I did that just to perform some tests. I retested again and seems like my python code also fails to do so. Actually, the website is returning 403 access denied error when PHP CURL is trying to fetch the video. As the video is not downloading, the window is failing to play the video as the video bytes are not downloaded into the file created.

from tiktok-video-downloader-php.

jaimin2000 avatar jaimin2000 commented on June 18, 2024

i have a plugin which is fetching non watermarked videos.
check https://onlinetik.com/ here non watermarked videos are downloading

from tiktok-video-downloader-php.

timeceeper avatar timeceeper commented on June 18, 2024

Hi,
since a few days the download doesnt work anymore.
All mp4 files has html-content. Access Denied (380 bytes)

from tiktok-video-downloader-php.

TufayelLUS avatar TufayelLUS commented on June 18, 2024

Hi @timeceeper
Yes, I have also checked the issue. Seems like TikTok made some changes that don't allow access to watermarked video even with HTTP referer. I am still working on it to find out a fix to the problem. I will update the code as soon as I fix it.

from tiktok-video-downloader-php.

TufayelLUS avatar TufayelLUS commented on June 18, 2024

I have tried to look into other public repositories, but most of them use 3rd party API for downloading videos which isn't the purpose of my repository here. And there isn't any single public repository that is up to date so that I can get any clue of this download error.
From my observation of the issue so far,

  1. Tiktok isn't allowing access to watermarked video(that's the only source, for now, to get video ID for the watermark free api) even with HTTP referer
  2. I suspected that the problem is now with the cookie. I tried to use the existing device cookie and injected it into my CURL request. But it is unfortunate that it didn't solve the case at all.

Now I am totally clueless and I don't know how to solve it.
I am not going to integrate 3rd party APIs as that's not how an open-source project works. And I have other things to do in life too, so I don't know when there will be any next update to the script.
If anyone wants to suggest some way out, you're welcome!

from tiktok-video-downloader-php.

Ryamatcar avatar Ryamatcar commented on June 18, 2024

Having the same issue with my own PHP and cURL implementation. I am sending the cookie that is set by tik tok when I get the data from the video page. Not sure what else can be done. I've checked other repos that use python and it all looks similar. I'm going to keep trying. I'll provide an update if I find something.

from tiktok-video-downloader-php.

Ryamatcar avatar Ryamatcar commented on June 18, 2024

I made some progress but getting a file unsupported error. Basically the headers sent for the original request for the video data must be the exact same headers sent when downloading the video.

The video downloads as an mp4 but when I try to open the file I get unsupported filetype error.

image

from tiktok-video-downloader-php.

Ryamatcar avatar Ryamatcar commented on June 18, 2024

Got it. There was a problem with my cURL options. So just make sure the headers sent in the initial request for the data related to the video is the same as the request for the video itself.

from tiktok-video-downloader-php.

TufayelLUS avatar TufayelLUS commented on June 18, 2024

@wtfyo , could you please help me with your solution? I am not getting time to focus on this as I work in the marketplaces as a freelancer and rarely getting spare time to sit and fix it by spending a long time. Your contribution will be welcomed.

from tiktok-video-downloader-php.

TufayelLUS avatar TufayelLUS commented on June 18, 2024

The script is now updated and it should start downloading videos again.

from tiktok-video-downloader-php.

Related Issues (20)

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.