intro
youtube-dl is a command-line program to download videos from YouTube.com and a few more sites. It requires the Python interpreter, version 2.6, 2.7, or 3.2+, and it is not platform specific. It should work on your Unix box, on Windows or on macOS. It is released to the public domain, which means you can modify it, redistribute it or use it however you like.
youtube-dl [OPTIONS] URL [URL...]
下载
https://github.com/ytdl-org/youtube-dl/releases
命令示例
power shell(尽量不要用 cmd,可能出现字符串解析问题)命令:
1 | # 1080 为本地 socket 代理转发端口(fq) |