A simple CLI tool that scrapes audio from YouTube if a match is found. This tool offers two main usage scenarios:
- Download your entire Spotify playlist.
- Download all songs by supplying their names through a text file.
- Install Rust and Cargo on your system. Follow the instructions here.
- Install yt-dlp. Follow the instructions here.
- Create a Spotify API app in the Spotify Developer Dashboard and note down the "Client ID" and "Client Secret".
- Create a .env file in the root dir of the project and paste the
client_id
andclient_secret
.
cargo run -- outputdir spotify
cargo run -- outputdir file ./input.txt