Giter Site home page Giter Site logo

spotify-playlist-downloader's Introduction

spotify-playlist-downloader ๐ŸŽต

[โœ”๏ธ Working as of 01-09-2023]

  1. Open cmd/console

  2. Clone repo - git clone https://github.com/Shubhamrawat5/spotify-playlist-downloader.git

  3. Open directory - cd spotify-playlist-downloader

  4. Install all dependencies - npm install

    This uses puppeteer to extract spotify playlist info so it'll download chromium (150-200mb)

  5. Run npm start

  6. It'll ask for playlist url, paste it and press enter.

Dummy Playlist_URL: https://open.spotify.com/playlist/6erqXmUhndc9DmQBMsImyY?si=tdOMvOQdR6KAZy9916kXcg&utm_source=copy-link&dl_branch=1&nd=1

  • Now a folder "songs" will be created.
  • Playlist info will be extract and all the matching songs will start donwloading!
  • It'll not download same song again if you rerun the code, So if any song is half downloaded then you can delete it from songs folder.
  • Also there is 5% chance that song's some remix or different same name song will get downloaded... I'll be fixing this soon !

Screenshots ๐Ÿš€

Contribute & Issues ๐Ÿš€

  • Feel free to Contribute to improve this.
  • Raise an Issue if you face any problem.

spotify-playlist-downloader's People

Contributors

shubhamrawat5 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

spotify-playlist-downloader's Issues

Error with downloads

====== GETTING SPOTIFY PLAYLIST INFO ======

getting playlist name
There is a issue with html of webapge. Most probably page didn't load or spotify has changed their html css classes name

getting username
throw new Error('Evaluation failed: ' + helper_js_1.helper.getExceptionMessage(exceptionDetails));
^

Error: Evaluation failed: TypeError: Cannot read property 'innerText' of undefined
at puppeteer_evaluation_script:4:6
at ExecutionContext._evaluateInternal (C:\Sharan\spotdl\spotify-playlist-downloader-main\node_modules\puppeteer\lib\cjs\puppeteer\common\ExecutionContext.js:218:19)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async ExecutionContext.evaluate (C:\Sharan\spotdl\spotify-playlist-downloader-main\node_modules\puppeteer\lib\cjs\puppeteer\common\ExecutionContext.js:107:16) at async getPlaylistList (C:\Sharan\spotdl\spotify-playlist-downloader-main\spotify.js:36:19)
at async getPlaylistInfo (C:\Sharan\spotdl\spotify-playlist-downloader-main\spotify.js:104:3)
at async Object.module.exports.getPlaylist (C:\Sharan\spotdl\spotify-playlist-downloader-main\spotify.js:122:3)

Slider.kz not available at the moment.

Due to the national problems of Kazakhstan, the database where the script downloads the music is down at the moment. Hope this will be resolved soon.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.