Skip to content

A Python script for converting your Spotify playlist into a YouTube playlist

License

Notifications You must be signed in to change notification settings

vaaibhavsharma/rehash

Repository files navigation

issues GitHub forks GitHub stars Python

We all know YouTube's recommendation system is miles ahead of Spotify or any other platform

This simple script will take your Spotify playlist and port it to YouTube's playlist, so you don't have to search for all your favourite songs again!

Running Script

Step 1

git clone https://github.com/vaaibhavsharma/rehash.git
cd rehash
pip install -r requirements.txt

Step 2

  1. Create account at Spotify Developers
  2. Get Client ID and Client Secret
  3. Go to Google API Console and GET
    1. API KEY
    2. OAuth 2.0 Client ID

Step 3

cd rehash #Project Directory
mkdir "env" # Make folder named env

Make file named apiKeys.py with following data

api_key = #Youtube API KEY
client_id_spotify = #Spotify 
client_secret_spotify = #Spotify

Step 4

Enjoy your songs!

python main.py

Working

working.mp4