-
Notifications
You must be signed in to change notification settings - Fork 368
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Broken]Tiktok seems to be broken #12
Comments
The JSON response changed, which lead to various things no longer pointing where they should have. If the PR is merged, it'll fix it. |
Cool. Thanks for your help. It seems to extract video format correctly, but if I try to download it, I'm getting 403: Forbidden error ./ytdlc -v https://www.tiktok.com/@charlidamelio/video/6854565358808993029 |
Did you manage to find any resolution, came accross the same problem |
There is a PR open for this, but there appears to be a permissions issue reading the video URL. Trying to work out a solution |
this link - https://www.tiktok.com/@charlidamelio/video/6854565358808993029 works with youtube-dl |
it works once. then it's the same 403 error. |
try again it worked for me. |
I wonder if the TikTok servers are blocking the direct requests... |
just tried two more times - first time error, second time = success |
Ok, so here's my log. As you see, with the latest youtube-dl it works, then doesn't, then works, works, doesn't... witchcraft... [generic] 6854565358808993029: Requesting header youtube-dl -F https://www.tiktok.com/@charlidamelio/video/6854565358808993029 youtube-dl https://www.tiktok.com/@charlidamelio/video/6854565358808993029 youtube-dl https://www.tiktok.com/@charlidamelio/video/6854565358808993029 $ youtube-dl https://www.tiktok.com/@charlidamelio/video/6854565358808993029 youtube-dl https://www.tiktok.com/@charlidamelio/video/6854565358808993029 youtube-dl https://www.tiktok.com/@charlidamelio/video/6854565358808993029 |
Hey guys, for some reason I'm still getting that 403: forbidden error. Could this be because I'm running this on MacOS terminal with Python version 2.7.16 ? |
I don't think it has anything to do with your python version. I've got the same issue here. Even though the cookies are in the header, it fails. running with --cookies cookie.txt, the only cookies are the two added to the headers. So weird. @blackjack4494 |
I am also getting 403 errors. Just making some observations here: If I look at a video page loaded in a web browser, it's setting 4 cookies. If I make a python request to this same page, I only get 2 cookies set: Share links do actually consistently work. As in vm.tiktok.com/something. You generate those from inside the app. yt-dlc will follow a redirect from the share link to a normal-looking video URL with a number of extra parameters passed in. Not sure what else is different. |
If you add --cookies cookies.txt and then run it a second time, it'll work. I don't think it's a missing cookie issue, since the cookies written are just those two. |
Also, i've submitted pull request #20 for the 403 error. |
Checklist
Verbose log
Description
https://www.tiktok.com/@charlidamelio/video/6854565358808993029
The text was updated successfully, but these errors were encountered: