top | item 17219290

(no title)

saamm | 7 years ago

Thank you for this! I used it to make a little script to download audio from each lecture:

  youtube-dl --get-id https://www.youtube.com/playlist?list=PLyGKBDfnk-iAQx4Kw9JeVqspbg77sfAK0 -i > ids.txt
  while read id; do
      youtube-dl -f bestaudio https://www.youtube.com/watch?v=$id
  done < ids.txt

discuss

order

exikyut|7 years ago

AFAIK, youtube-dl will find all videos and download them if fed a playlist URL. I'm curious if this script is a workaround for some obscure brokenness or something.

mrybczyn|7 years ago

youtube-dl already has extract audio feature built in. try youtube-dl -x playlist-url