
Product
Introducing Immutable Scans
Scan results now load faster and remain consistent over time, with stable URLs and on-demand rescans for fresh security data.
www.github.com/schollz/getsong.git
Advanced tools
This is a simple library that utilizes the rylio/ytdl YouTube downloader and ffmpeg to get almost any m4a of a song that you want to listen to. I wrote this so I could download m4as of my favorite Spotify playlists.
Disclaimer: Downloading copyright songs may be illegal in your country. This tool is for educational purposes only and was created only to show how YouTubes's API can be used to download music. Please support the artists by buying their music.
go get -u github.com/schollz/getsong/...
The aim of this library to have a low (or zero) false positive rate, so it works best when the entered title + artist are spelled correctly.
$ getsong 'Getting in Tune' 'The Who'
Downloading 'Getting in Tune by The Who (W6-3rnD7FSc).webm'...
524289 / 524289 [==========================] 100.00%
...converting to m4a...
Downloaded 'Getting in Tune by The Who (W6-3rnD7FSc).m4a'
// download "True" by "Spandau Ballet"
fname, err := getsong.GetSong("True", "Spandau Ballet")
if err == nil {
fmt.Printf("Downloaded '%s'\n", fname)
}
Pull requests are welcome. Feel free to...
MIT
FAQs
Unknown package
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Product
Scan results now load faster and remain consistent over time, with stable URLs and on-demand rescans for fresh security data.

Product
Socket's new Alert Details page is designed to surface more context, with a clearer layout, reachability dependency chains, and structured review.

Product
Campaign-level threat intelligence in Socket now shows when active supply chain attacks affect your repositories and packages.