Skip to content

Instantly share code, notes, and snippets.

@loftwah
Created July 29, 2021 14:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save loftwah/e87f80d87ad1f18a799ee70a8bea98c4 to your computer and use it in GitHub Desktop.
Save loftwah/e87f80d87ad1f18a799ee70a8bea98c4 to your computer and use it in GitHub Desktop.
Download the music I've produced for free

Bootleg my music... For science! and whatever

/me assumes you're using Ubuntu, if not you know what to do. ಠ_ಠ

  • ಠ_ಠ I'm watching you!!! Ubuntu! Do it... /me shakes fist
apt update
apt install neofetch -y
neofetch # prove to me that you're using Ubuntu (hey, my instructors at uni made us stick to random opinionated stuff backed by basically zero logic for no reason so why can't I?)
curl -L https://yt-dl.org/downloads/latest/youtube-dl -o youtube-dl
chmod a+rx youtube-dl
# youtube-dl --extract-audio --audio-format mp3 -o "%(title)s.%(ext)s" <url to playlist> Protip: You can gank sh*t from pretty much anywhere with this ¯\_(ツ)_/¯ Protip number two: curl cht.sh/<topic>  and stop memorizing stuff that your shell or IDE can do for you :D
youtube-dl -x --audio-format mp3 -o "%(title)s.%(ext)s" https://www.youtube.com/playlist?list=PLKBAUoCO_FtkHiwRzyGzfhauIhNMBFw66
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment