Loading...
Loading...
Download videos from Douyin (抖音), Xiaohongshu (小红书), and Bilibili (B站) to local disk. Use when the user shares a video link from these platforms, asks to download a video, or mentions v.douyin.com / xiaohongshu.com / xhslink.com / bilibili.com / b23.tv URLs.
npx skill4agent add csfuwwc/md-skills video-downloadv.douyin.com/xxxdouyin.com/video/xxxxiaohongshu.com/discovery/item/xxxxhslink.com/xxxbilibili.com/video/BVxxxb23.tv/xxxscripts/install_deps.shscripts/download.pyscripts/install_deps.sh~/.config/video-download/<platform>_cookies.json~/Downloads/scripts/install_deps.shscripts/download.pyscripts/download.py check-login bilibiliscripts/download.py login bilibili --signal-file /tmp/video_dl_login_donetouch /tmp/video_dl_login_donescripts/download.pyscripts/install_deps.shdownload.pylogin <platform>login <platform> --signal-file <path>check-login <platform>install_deps.sh__playinfo__| Exit Code | Meaning | Agent Action |
|---|---|---|
| 0 | Success | Proceed to next step |
| 1 | General error | Report error message to user |
| 2 | Login required | Initiate login workflow |
| Common Issues | Auto-Resolution |
|---|---|
| Missing dependencies | Run |
| SSL certificate error | Script uses unverified SSL context |
| Video not captured | Content may require login or is image post |
| Low quality (Bilibili) | Prompt user to login for HD |
| Cookie expired | Re-run login command automatically |
| CDN URL expired | Retry download (URLs valid for few hours) |
~/Downloads/<sanitized_title>.mp4~/.config/video-download/