Skip to content

rickhurkens/Spotify-To-Youtube-dl

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spotify To Youtube ▶

A simplistic way to find songs from a Spotify playlist on YouTube and download them in the highest available quality.
IMPORTANT: Please check the issue saulojoab has pinned here.

How does it work? 😮

All you gotta do is insert your >>PUBLIC<< Spotify playlist URL or ID when prompted, then the app will automatically search all songs from that playlist on YouTube and return the URLs. Youtube-dl will download them. Check below for instructions on how to make it work:

Prerequisites:

youtube-dl
ffmpeg
mutagen easyid3

How to use it?

1 - To use the script, you gotta register your app on both the Spotify and YouTube API services.
2 - When you finish doing that, create a JSON file named "config.json" on the project's main folder.
3 - The config.json file must have the following format:

{
    "spotify":
    {
        "client_id": "your_spotify_client_id",
        "client_secret": "your_spotify_client_secret"
    },
    "youtube":
    {
        "api_key": "your_youtube_api_key",
        "client_id": "your_youtube_client_id",
        "client_secret": "your_youtube_client_secret"
    }
}

What did you use to make it? 🤔

I used the following libraries:

Why did you make it?

Studying purpouses, and it might actually be useful to someone. I think Discord bots could use that to queue songs and stuff.

Contribute?

This project needs:

  • Handling of errors
  • Output of logs
  • Refactoring

About

▶ A simple python script that makes it easier to search Spotify songs on YouTube.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Python 100.0%