n0l3r / tiktok-downloader

tiktok downloader is a tool to download video from tiktok with watermark or without watermark. There are two features that is, mass download (by username/urls) and single download (by url).
MIT License
327 stars 130 forks source link

If the download_addr is missing for a video, use the play_addr instead #67

Closed Kolfer closed 1 month ago

Kolfer commented 1 month ago

There are some videos, where download_addr is missing in a JSON response. So, it will download the video without a watermark in such cases. Examples of videos: https://www.tiktok.com/@frogparadise/video/7331753843623054624 https://www.tiktok.com/@georgiiaegan/video/7342410683092454657

Jettcodey commented 1 month ago

Hey @Kolfer, I noticed this issue as well. From my investigation, it seems like download_addr is missing in every video JSON response. Do you know/have any link to a video where the download_addr is still present in the JSON response?

Kolfer commented 1 month ago

Hey @Jettcodey , yes here are some with still present download_addr: https://www.tiktok.com/@2chubbs/video/7379161780355976481 https://www.tiktok.com/@stoccafisso_production/video/7364752928977997088

I think download_addr is missing for videos you cannot download manually in a browser. I guess it happens when somebody disables it for their videos.

Jettcodey commented 1 month ago

I guess it happens when somebody disables it for their videos.

Yeah, it seems like it. I wonder why they suddenly removed this. However, I found a repo from someone else where videos can still be downloaded with a watermark (https://github.com/BurakYs/VidGet). But when I compared the two codebases, I didn't really find any big differences (though I looked at this at like 3 am, so I may have overlooked something big xD).

Anyway we will find a way to make it work again at somepoint.

Kolfer commented 1 month ago

Yeah, it's strange, maybe they moved the download_add somewhere and didn't remove it.

n0l3r commented 1 month ago

nice!