mirror of
https://github.com/hastagAB/Awesome-Python-Scripts.git
synced 2024-12-18 16:20:14 +00:00
e3db5f71f2
Co-authored-by: Ayush Bhardwaj <classicayush@gmail.com>
1023 B
1023 B
- Downloads music from YouTube as an MP3 file.
- Applies basic on metadata like track name, track number, album, genre and more.
You need to download ffmpeg to use this tool, download it from:
Installation
pip install -r requirements.txt
OR
pip3 install -r requirements.txt
Usage
To download a song run,
python3 spotify.py $trackUrl
python3 spotify.py https://open.spotify.com/track/08mG3Y1vljYA6bvDt4Wqkj?si=SxezdxmlTx-CaVoucHmrUA
To download an album run,
python3 spotify.py $albumUrl
python3 spotify.py https://open.spotify.com/album/2YMWspDGtbDgYULXvVQFM6?si=gF5dOQm8QUSo-NdZVsFjAQ
To download a playlist run,
python3 spotify.py $playlistUrl
python3 spotify.py https://open.spotify.com/playlist/37i9dQZF1DWXhcuQw7KIeM?si=xubKHEBESM27RqGkqoXzgQ