How to Download TikTok and Douyin Videos on a Mac — and Why the Link Sometimes Fails
yt-dlp with --cookies-from-browser gets you to the same place for free.Why some short-video links refuse to download
A Douyin share link bounces twice before it lands:
https://v.douyin.com/xxxxxxx/
→ https://www.iesdouyin.com/share/video/<19-digit id>/?… (signed share page)
→ https://www.douyin.com/video/<19-digit id>
That final address answers a bare request with a flat 404. Command-line tools report something unusually informative at this point:
ERROR: [Douyin] 76828120465…: Fresh cookies (not necessarily logged in) are needed
The parenthetical is the whole story. The site doesn't want your account — it wants cookies such as __ac_nonce, __ac_signature and s_v_web_id, which are produced by executing the page's JavaScript. curl, wget and any downloader without a browser engine simply cannot invent them.
Option 1 · Vidnip: paste the share link
- In the app or on the web, tap Share → Copy link
- Paste it into Vidnip and hit Detect — the built-in browser engine loads the page for real, picks up those credentials and passes them to the extractor
- Pick a quality from the list and download. Want audio only? Hit the note button for a clean M4A with cover art and title already written in
Option 2 · yt-dlp with browser cookies (free, terminal)
brew install yt-dlp ffmpeg
# The key step: open the page in Safari once so the browser earns the cookies
yt-dlp --cookies-from-browser safari "https://v.douyin.com/xxxxxxx/"
Without --cookies-from-browser you will almost certainly hit the Fresh cookies … are needed wall. The flag tells yt-dlp to read that browser's cookie store — mechanically the same thing Vidnip does internally, just wired by hand.
Upside: free and scriptable. Rough edges: needs Homebrew; browser cookies expire, so you'll reopen the page every so often; macOS will prompt for permission the first time a tool reads that cookie store.
About watermarks — straight answer
The file the web player hands out normally carries the platform watermark. Every "watermark remover" is doing post-processing: cropping the frame, or hunting for a clean source URL. Results vary by video and it can cut against the creator's interests. Vidnip downloads faithfully and does not strip watermarks.
If the video is your own post, skip all of that: the creator dashboard lets you download the original file without a watermark.
Is TikTok the same?
Same flow, usually less friction — TikTok links paste straight into Vidnip and typically need no extra credentials. The two apps share a lineage, but the mainland build enforces far stricter anti-scraping, which is why the cookie dance above exists at all.
Error messages, decoded
| What you see | What it actually means | What to do |
|---|---|---|
| Fresh cookies … are needed | Missing browser anti-bot cookies — nothing to do with accounts | Use Vidnip (carries them automatically) or add --cookies-from-browser |
| HTTP Error 404 | The final URL was blocked for a bare request | Use the share short link; don't hand-assemble www.douyin.com/video/… |
| Nothing detected, or only a few-hundred-KB mp4 | What got captured is page filler, not the real video | Update to 1.6.7+, or hit "Show Page" and press play once, then detect again |
| 403 partway through | CDN hotlink protection; credentials went stale | Re-detect the page for fresh credentials, then download |
FAQ
Is downloading TikTok videos legal?
The tool itself is legal. The video, however, belongs to its creator: keeping a copy for yourself is not the same as re-uploading, remixing or using it commercially — those need the creator's permission, and platform terms still apply.
Do I need to log in to my account?
No. Public videos only need a set of browser anti-bot cookies, not account credentials — yt-dlp's own error message says it plainly: not necessarily logged in.
Can I download every video from one creator?
Vidnip can queue collections and playlists in one go. Whether a given profile page can be enumerated depends on the site's current anti-scraping policy, so it isn't guaranteed.
Will the download have a watermark?
The file the web player serves usually carries the platform watermark. Vidnip downloads faithfully and does not strip watermarks. If it's your own post, the creator dashboard gives you the clean original — that's the cleanest route.
Paste a link. That's the whole workflow.
Vidnip bundles a browser engine and the extractor together, so sites that demand browser identity just work. First 3 downloads free, no time limit.
Download Vidnip · Free trial