yt-dlpで区間指定
yt-dlp
には区間指定オプションが入った
code:sh
# 10m0s ~ 20m0s
yt-dlp "url" --download-sections "*10:00-20:00"
# 10m0s ~ last
yt-dlp "url" --download-sections "*10:00-inf"
changelog
2022-06-22
追加
2023-06-22
negative time-range (終了と開始が逆) のサポート
*from-url
で URL から開始時間を抽出