Skip to content

Latest commit

 

History

15 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

spotify playlistlerinde olan muzikleri youtubedan bulup indirme

Kurulum

Aşağıdaki adımları izleyerek uygulamayı yerel makinenizde çalıştırabilirsiniz

  1. uygulama klonlayın:
git clone https://github.com/melihAkn/spotifyPlaylistDownload.git
  1. uygulama klasörüne gidin:
cd .\spotifyPlaylistDownload
  1. Gerekli bağımlılıkları yüklemek için aşağıdaki komutu çalıştırın:
npm install
  1. uygulama ana dizinine .env adında bir dosya oluşturun ve içine aşağıdaki adımlarla birlikte aldıgınız degerleri yazın client id ve client secret için https://developer.spotify.com/dashboard/ bu adresten bir uygulama oluşturun client_ID ve client_Secret kodlarını env dosyasına ekleyin ve generateToken dosyasını çalıstırıp accessTokeni olusturun
node generateToken.js

https://console.cloud.google.com/apis/dashboard bu adresten youtube Data Api V3 aktif edin sonrasında credentials kısmından api keyinize erişin son olarak indirmek istediğiniz spotify playlist'in id sini env dosyasına ekleyin

CLIENT_ID = ''
CLIENT_SECRET = ''
SPOTIFY_ACCESSTOKEN = "Bearer "
YOUTUBE_APIKEY = ''
SPOTIFY_PLAYLIST_ID = ""
  1. uygulamayı başlatmak için aşağıdaki komutu çalıştırın:
node app.js

indirmek istediğiniz muzikleri musics klasorunde bulabilirsiniz

download spotify playlist musics searching yotube

Setup

watch the belowe steps and you can start the project

  1. clone this repo:
git clone https://github.com/melihAkn/spotifyPlaylistDownload.git
  1. go to project directory:
cd .\spotifyPlaylistDownload
  1. download the necessary packages
npm install
  1. Create a file named .env in the application's root directory and write the obtained values into it following the steps below "Create an application at this address: https://developer.spotify.com/dashboard/ for the client ID and client secret. Add the client_ID and client_Secret codes to the env file, and then run the script to create an access token.
node generateToken.js

Activate the YouTube Data API V3 at this address: https://console.cloud.google.com/apis/dashboard, and access your API key in the credentials section. Finally, add the ID of the Spotify playlist you want to download to the env file."

CLIENT_ID = ''
CLIENT_SECRET = ''
SPOTIFY_ACCESSTOKEN = "Bearer "
YOUTUBE_APIKEY = ''
SPOTIFY_PLAYLIST_ID = ""
  1. To start the application, run the following command:
node app.js

You can find the music you want to download in the 'musics' folder.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages