{"id":13905983,"url":"https://github.com/schollz/getsong","last_synced_at":"2025-07-18T03:32:42.003Z","repository":{"id":54718734,"uuid":"165405696","full_name":"schollz/getsong","owner":"schollz","description":"Download any song mp3 with no dependencies except ffmpeg","archived":false,"fork":false,"pushed_at":"2020-08-19T14:26:56.000Z","size":148,"stargazers_count":130,"open_issues_count":4,"forks_count":17,"subscribers_count":6,"default_branch":"master","last_synced_at":"2024-11-17T12:15:49.470Z","etag":null,"topics":["downloader","ffmpeg","mp3","music","songs","spotify","youtube"],"latest_commit_sha":null,"homepage":"https://schollz.com/software/spotify/","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/schollz.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-01-12T15:52:38.000Z","updated_at":"2024-11-16T20:05:57.000Z","dependencies_parsed_at":"2022-08-14T00:40:55.750Z","dependency_job_id":null,"html_url":"https://github.com/schollz/getsong","commit_stats":null,"previous_names":[],"tags_count":29,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/schollz%2Fgetsong","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/schollz%2Fgetsong/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/schollz%2Fgetsong/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/schollz%2Fgetsong/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/schollz","download_url":"https://codeload.github.com/schollz/getsong/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":226344474,"owners_count":17610141,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["downloader","ffmpeg","mp3","music","songs","spotify","youtube"],"created_at":"2024-08-06T23:01:27.434Z","updated_at":"2024-11-25T14:30:37.091Z","avatar_url":"https://github.com/schollz.png","language":"Go","funding_links":[],"categories":["HarmonyOS"],"sub_categories":["Windows Manager"],"readme":"# getsong\n\n[![travis](https://travis-ci.org/schollz/getsong.svg?branch=master)](https://travis-ci.org/schollz/getsong) \n[![go report card](https://goreportcard.com/badge/github.com/schollz/getsong)](https://goreportcard.com/report/github.com/schollz/getsong) \n[![coverage](https://img.shields.io/badge/coverage-62%25-green.svg)](https://gocover.io/github.com/schollz/getsong)\n[![godocs](https://godoc.org/github.com/schollz/getsong?status.svg)](https://godoc.org/github.com/schollz/getsong) \n\nThis is a simple library that utilizes the [rylio/ytdl YouTube downloader](https://github.com/rylio/ytdl) and [ffmpeg](https://www.ffmpeg.org/) 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](https://github.com/schollz/spotifydownload). \n\n\n**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.\n\n## Install\n\n```\ngo get -u github.com/schollz/getsong/...\n```\n\n## Usage \n\nThe 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.\n\n### Use as a program\n\n```bash\n$ getsong 'Getting in Tune' 'The Who'\nDownloading 'Getting in Tune by The Who (W6-3rnD7FSc).webm'...\n 524289 / 524289 [==========================] 100.00% \n...converting to m4a...\nDownloaded 'Getting in Tune by The Who (W6-3rnD7FSc).m4a'\n```\n\n### Use as a library\n\n```golang\n// download \"True\" by \"Spandau Ballet\"\nfname, err := getsong.GetSong(\"True\", \"Spandau Ballet\")\nif err == nil {\n    fmt.Printf(\"Downloaded '%s'\\n\", fname)\n}\n```\n\n## Contributing\n\nPull requests are welcome. Feel free to...\n\n- Revise documentation\n- Add new features\n- Fix bugs\n- Suggest improvements\n\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fschollz%2Fgetsong","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fschollz%2Fgetsong","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fschollz%2Fgetsong/lists"}