YT-DLP是一个全平台的全网视频站点下载器项目
源项目下载地址
https://github.com/yt-dlp/yt-dlp/releases
Windows环境可以直接用Hitomi
https://github.com/KurtBestor/Hitomi-Downloader/releases
如下载macos的执行文件,解压后赋权
1 | sudo chmod a+rx yt-dlp |
在执行文件所在目录里新建yt-dlp.conf配置文档
1 | ##args |
项目使用方法的中文说明
https://blog.csdn.net/z_y_z_l/article/details/121015231
支持的网站(几乎包含全网站点)
https://ghproxy.com/https://github.com/ytdl-org/youtube-dl/blob/master/docs/supportedsites.md
说明和示范:
–proxy socks5 指向的是本地梯子的端口
下载DannyData小丹尼:
1 | /Applications/yt-dlp --yes-playlist "https://www.youtube.com/c/DannyData%E5%B0%8F%E4%B8%B9%E5%B0%BC/videos" |
下载小Lin说:
1 | /Applications/yt-dlp --yes-playlist "https://www.youtube.com/c/Lindsay%E8%AF%B4/videos" |
下载老高與小茉 Mr & Mrs Gao:
1 | /Applications/yt-dlp --yes-playlist "https://www.youtube.com/channel/UCMUnInmOkrWN4gof9KlhNmQ/videos" |
下载李永乐老师:
1 | /Applications/yt-dlp --yes-playlist "https://www.youtube.com/c/%E6%9D%8E%E6%B0%B8%E4%B9%90%E8%80%81%E5%B8%88/videos" |
下载科学火箭叔:
1 | /Applications/yt-dlp --yes-playlist "https://www.youtube.com/channel/UC8dD8v_uIA7aRzpqaCoIHKg/videos" |
下载妈咪说MommyTalk:
1 | /Applications/yt-dlp --yes-playlist "https://www.youtube.com/c/%E5%A6%88%E5%92%AA%E8%AF%B4MommyTalk/videos" |
下载科技宅小明:
1 | /Applications/yt-dlp --yes-playlist "https://www.youtube.com/c/%E7%A7%91%E6%8A%80%E5%AE%85%E5%B0%8F%E6%98%8E/videos" |
下载老吴Alien:
1 | /Applications/yt-dlp --yes-playlist "https://www.youtube.com/channel/UCqdsQ_zFOQ098kLvIsbWu2w/videos" |
下载科学声音:
1 | /Applications/yt-dlp --yes-playlist "https://www.youtube.com/channel/UCUBhobCkTLhgfUNRAgHSYmw/videos" |
另外,我发现一个BUG,就是偶尔在下载目录里会有垃圾文件,我的解决方法是
1 | find /Volumes/Disk/ -name "*.ytdl" -print0 |xargs -0 rm -f |