Skip to content

Latest commit

 

History

History
25 lines (20 loc) · 715 Bytes

README.md

File metadata and controls

25 lines (20 loc) · 715 Bytes

Audio Extract Script for YouTube and Youtube Music

dl-audio.sh

How does the script work?

The script uses

  • yt-dlp
    • with parameters for
      • optimal audio quality
      • useful naming scheme: <Artist> - <Song>.mp3
        • Reasonably rename files afterwords if artist name is missing.
      • metadata and thumbnail embedding
    • cookies from Firefox for quality and speed enhancement

Use the script

dl-audio.sh <link>

Replace <link> by links to YouTube, YouTube Music or playlists.

Bonus

convert.sh

  • converts the sampling rate of all MP3-files to 44.1kHz. This is often useful for USB-reading DJ equipment.
  • uses ffmpeg.