下載Youtube影片
如何下載Youtube影片
-
使用線上工具
-
使用本機軟體
- yt-dlp
如何使用yt-dlp
Step 1. 取得Python和pip
Step 2. 安裝yt-dlp
# -U means install the LATEST version.
# Old version yt-dlp may NOT work.
pip install -U yt-dlp
Step3. 使用yt-dlp
# Download video.
yt-dlp 'https://www.youtube.com/watch?v=ir2EQHamW7Y'
# List all subtitles.
yt-dlp --list-subs 'https://www.youtube.com/watch?v=zvn1rry9vqM'
# Download video and selected subtitle.
yt-dlp --write-auto-subs --write-subs --sub-langs 'zh-TW' 'https://www.youtube.com/watch?v=zvn1rry9vqM'
No Comments