There are a lot of interesting lectures on Youtube. Recently I’ve taken to adding these lectures to a playlist and processing them on my mac using the following script:
youtube-dl -o '%(stitle)s.%(ext)s' $YOUR_YOUTUBE_PLAYLIST for file in ./*.mp4; do echo "processing $file" file = $(print '%q' "$file") #file_norm = $(echo "$file" | sed 's/[^a-zA-Z0-9]//g') ffmpeg -i "$file" "$file.mp3" done rm -rf *.mp4
You’ll need youtube-dl and ffmpeg installed for this script to work. Both of these are available from brew.