Searches songs from Spotify on YouTube and downloads them using pytube
- Arguments to use only inside terminal
- Better automatic serching on YouTube
- Spotify API Key
- Python 3
- ffmpeg
- spotipy
- ytmusicapi
- pytube
- eyed3
- Clone the Repository.
- Change into the cloned directory:
cd Spotify-To-MP3-Converter
- Install the required python packages using pip:
pip install -r requirements
- Install
ffmpeg
: - On Linux you can install ffmpeg using your preferred package manager (see https://www.ffmpeg.org/download.html#build-linux) - On Windows, you can download builds from https://www.ffmpeg.org/download.html#build-windows - On Mac, you can download builds from https://www.ffmpeg.org/download.html#build-mac - Create a new file
secrets.py
to store your Spotify API Keys# secrets.py client_id = 'YOUR_CLIENT_ID' client_secret = 'YOUR_CLIENT_SECRET'
- Change the Spotify Playlist Link
# spotip3.py [...] def main(): playlist_link = 'YOUR_PLAYLIST_LINK' [...]
- Execute the script using python 3:
python3 spotip3.py
If you find any bugs or issues with the script, please report them here on the "Issues" tab.