Linux command
you-get 命令
网络
复制后可按需替换文件名、目录或参数。
常用示例
Download video
you-get [https://example.com/video]
Show video info
you-get -i [https://example.com/video]
Download specific format
you-get --format [dash-flv720] [url]
Download to directory
you-get -o [/output/dir] [url]
Download playlist
you-get --playlist [url]
Set output filename
you-get -O [filename] [url]
Use proxy
you-get -x [127.0.0.1:1080] [url]
Download with cookies
you-get -c [cookies.txt] [url]
说明
you-get downloads videos from websites. It supports YouTube, Bilibili, Vimeo, and many other video platforms. Info mode (-i) shows available formats without downloading. This helps choose the best quality or format. Format selection downloads specific quality levels. Available formats are shown with -i and selected with --format. Playlist support downloads entire playlists or channels. Individual videos are numbered in output. Cookie support accesses private or age-restricted content. Cookies can be exported from browsers. Proxy support enables access through firewalls. HTTP and SOCKS5 proxies are supported.
参数
- -i, --info
- Show video info only.
- -o _DIR_
- Output directory.
- -O _NAME_
- Output filename.
- --format _FMT_
- Specific format.
- --playlist
- Download playlist.
- -c _FILE_
- Cookie file.
- -x _PROXY_
- HTTP proxy.
- -s _PROXY_
- SOCKS5 proxy.
- -u
- Auto retry on error.
- -n
- No merge (keep parts).
- -F
- Force download.
- --json
- JSON output.
FAQ
What is the you-get command used for?
you-get downloads videos from websites. It supports YouTube, Bilibili, Vimeo, and many other video platforms. Info mode (-i) shows available formats without downloading. This helps choose the best quality or format. Format selection downloads specific quality levels. Available formats are shown with -i and selected with --format. Playlist support downloads entire playlists or channels. Individual videos are numbered in output. Cookie support accesses private or age-restricted content. Cookies can be exported from browsers. Proxy support enables access through firewalls. HTTP and SOCKS5 proxies are supported.
How do I run a basic you-get example?
Run `you-get [https://example.com/video]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does -i, --info do in you-get?
Show video info only.