Skip to content

Boucanier/deezer_to_youtube

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

deezer_to_youtube

Python Deezer YouTube

This project create a youtube playlist from tracks that are in a deezer playlist.

Requirements

  • Python 3.10 or above (sudo apt install python3)
  • requests module (pip install requests)
  • google-api-python-client (pip install google-api-python-client)
  • google-auth-oauthlib (pip install google-auth-oauthlib)
  • google-auth-httplib2 (pip install google-auth-httplib2)

To install all these requirements on a Debian based Linux distribution, you can run the script installation.sh

Description

Run src/main.py to start the program. Then you will have to enter a deezer user id or to chose an already registered one (you can paste your user id in data/user_id.txt).

Then you will have to chose between a new playlist or a saved playlist. If you chose a new playlist, you will have to chose among all the playlists related to you deezer account. Once you have chosen a playlist, its information will be saved in data/tracks.csv. Therefore, you will be able to chose this playlist later.

As soon as you have chosen a playlist, you will be redirected to a google authentication page. You will have to log in with your google account and to accept the permissions. The program will then create a youtube playlist named deezer_to_youtube and will add all the tracks of the chosen playlist to it. It adds the most relevant video found for each track.

Note

The deezer playlist that you want to copy must be public.

Since the google api has a requests quota per day, the program will not work with too long playlists.

About

Create a youtube playlist from a deezer playlist

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published