yt-dlp https://www.douyin.com/video/6963263655114722595 --cookies-from-browser chrome
通过 yt-dlp 下载抖音视频,已经加上使用浏览器 cookie 了,但还是报下面这个错误
WARNING: [Douyin] 6963263655114722595: Failed to parse JSON: Expecting value in '': line 1 column 1 (char 0)
ERROR: [Douyin] 6963263655114722595: Fresh cookies (not necessarily logged in) are needed; please report this issue on https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using yt-dlp -U
File "/opt/homebrew/Cellar/yt-dlp/2026.3.17_2/libexec/lib/python3.14/site-packages/yt_dlp/extractor/common.py", line 765, in extract
ie_result = self._real_extract(url)
File "/opt/homebrew/Cellar/yt-dlp/2026.3.17_2/libexec/lib/python3.14/site-packages/yt_dlp/extractor/tiktok.py", line 1484, in _real_extract
raise ExtractorError(
'Fresh cookies (not necessarily logged in) are needed',
expected=not self._get_cookies(self._WEBPAGE_HOST).get('s_v_web_id'))
不知道是不是我使用的姿势不对,请教各位指点下。
这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。
V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。
V2EX is a community of developers, designers and creative people.