天天看点

youtube-dl,you-get,Mac技巧备忘

Mac

Mac调用emoji:command+control+space

you-get

下载整个播放列表:

//查询该列表视频信息
you-get --info 'https://www.bilibili.com/video/av36895433' --playlist

//选择清晰度 下载到当前目录下
you-get --format=flv480 'https://www.bilibili.com/video/av36895433' --playlist
           

youtube-dl

下载单个视屏:

//查看视屏信息,走代理(ss)
youtube-dl --proxy socks5://127.0.0.1:1086 -F 'https://youtu.be/Z1PCtIaM_GQ'

//选择清晰度 下载视屏到当前目录下
 youtube-dl --proxy socks5://127.0.0.1:1086 -f 22  'https://youtu.be/Z1PCtIaM_GQ'
           

下载整个播放列表

//查看视屏信息,走代理(ss)
youtube-dl --proxy socks5://127.0.0.1:1086 -F 'https://www.youtube.com/watch?v=IEfQ_9DI
ItI&list=PL2w4TvBbdQ3sMABf317ExCob_v6rW2-4s'

///选择清晰度 下载视屏到当前目录下
youtube-dl --proxy socks5://127.0.0.1:1086 -f 22 'https://www.youtube.com/watch?v=IEfQ_
9DIItI&list=PL2w4TvBbdQ3sMABf317ExCob_v6rW2-4s'
           

指定从播放列表的第几个视屏开始下载(到第几个结束)

//查看从第二个开始的视屏信息,走代理ss
youtube-dl --proxy socks5://127.0.0.1:1086 -F 'https://www.youtube.com/playlist?list=PL
wg4AG1KkgLxtl6CwdlIPNikbXWodV2hX' --playlist-start 2

//选择清晰度 下载第二个视屏到最后一个,到当前目录下
youtube-dl --proxy socks5://127.0.0.1:1086 -F 'https://www.youtube.com/playlist?list=PL
wg4AG1KkgLxtl6CwdlIPNikbXWodV2hX' --playlist-start 2

//选择清晰度 下载第二个视屏到第五个,到当前目录下(第几个对应播放列表前面的序号)
youtube-dl --proxy socks5://127.0.0.1:1086 -f 22 'https://www.youtube.com/playlist?list=PL
wg4AG1KkgLxtl6CwdlIPNikbXWodV2hX' --playlist-start 2 --playlist-end 5

           

继续阅读